Earth Why do volcanoes erupt? Rising magma contains gases and pressure that can force molten rock toward the surface.