1) An earthquake is caused by a sudden release of energy in the Earth's crust that creates seismic waves.
2) Earthquakes occur along fault lines in the Earth's lithosphere where tectonic plates meet. As the plates slowly move and push against each other, stress builds up until the fault slips, releasing energy in the form of seismic waves.
3) Earthquakes are measured on the Richter scale based on the logarithm of the wave amplitude as recorded by a seismograph. The magnitude indicates the amount of energy released by an earthquake.