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.