Reasons why Earthquakes and Volcanoes Occur Where they Do