Earthquakes are the sudden violent shaking of the ground. This happens because the Earth's plates are constantly moving. Sometimes, because of friction, plates try to move and become stuck. Pressure builds up because the plates are still trying to move. When the pressure is released, it sends out huge amounts of energy causing the Earth's surface to shake violently.