The movement of tectonic plates, which is driven by continental drift, can result in the formation of fault lines where earthquakes occur. It also contributes to the distribution of volcanic activity along plate boundaries .