Earthquakes are usually caused when rock underground suddenly breaks along a fault. This sudden release of energy causes the seismic waves that make the ground shake. When two blocks of rock or two plates arerubbing against each other, they stick a little.
*Seismic Wave definition
A seismic wave is awave that travels through the Earth, most often as the result of a tectonic earthquake, sometimes from an explosion.