While not all mountains with craters are volcanoes, the most common type of mountain with a crater is a volcano. The crater is formed by the eruption of magma and ash from the volcano's vent.