Earthquakes occur when energy stored in elastically strained rocks is suddenly released. This release of energy causes intense ground shaking in the area near the source of the earthquake and sends waves of elastic energy, called seismic waves, throughout the Earth.