If a volcano were to erupt many times, the hot lava quickly cools forming layers of igneous rock which ultimately form mountains due to repeated added pressure of rocks.
Hope this helps!! :D
6.5m questions
8.7m answers