An earthquake is caused when two blocks of Earth's crust slip past each other on a fault plane, according to the U.S. Geological Survey.