when the rock in Earth's crust shakes this occurs