How does volcanic activity affect Earth's structure?