All three kinds of rock can be changed by being heated and squeezed by forces in the earth. When this happens, faults (cracks) may appear in the rock. Geologists can learn a lot about the history of the rock by studying the patterns of the fault lines. Earthquakes are caused when a fault breaks suddenly.