Earthquakes occur when stress that has accumulated in the Earth's crust is suddenly released along fractures known as faults. These…