what do volcanoes and mountain have in common​