Earthquakes are often associated with the movements of tectonic plates and can lead to rock formations.