Which of the following processes causes earthquakes and volcanoes to occur on Earth's surface?