An earthquake is caused by the sudden displacement of rock in the Earth's crust due to crustal strain, volcanoes, landslides, or collapsing caverns. Earthquakes can cause ground shaking, landslides, fires, soil liquefaction, tsunamis, floods, and damage human infrastructure. Soil liquefaction occurs when saturated granular soils like silty sands or sandy gravels lose strength during an earthquake or sudden stress change and behave like liquid, which can damage buildings and cause them to sink or tilt.