I know im late but a more detailed answer is
Volcanic mountains are formed as molten rock reaches the surface of Earth through weak areas in the crust. The material is deposited and piles up, forming a cone shaped mountain.
9.5m questions
12.2m answers