Earthquakes are caused by the sudden release of energy in the Earth's crust that creates seismic waves. This release of energy is usually a result of tectonic plate movements along faults in the Earth's crust. The movement of these plates can build up stress over time, and when it is released, it causes the ground to shake, resulting in an earthquake.