How Volcanism and Earthquakes Influence Each Other