The sub-surface of the earth is made up of large contiguous areas called tectonic plates. They very slowly expand or contract until enough pressure builds up at their edges to cause the plates to suddenly shift. The vibration and movement from the shift is what we call an earthquake.
Answered Mar 16, 2011
Edited Mar 16, 2011