 These were laid down in various climates as the global climate changed, the landmasses moved due to continental drift, and the land and sea levels rose or fell.From time to time horizontal forces caused the rock to undergo considerable deformation, folding the layers of rock to form mountains which have since been eroded and overlain with other layers.To further complicate the geology, the land has also been subject to periods of earthquakes and volcanic activity.