Rock layers act somewhat the same way, if the pressures becomes too great the rock layer will break and move. When this occurs the layers will move along a crack in the Earth's crust called a fault or the release of energy will cause a new faultline to be produced.