Answer :

Volcanoes have violent eruptions because of pressurized gas build up. The heat of the volcano causes rocks to melt. As they melt trapped gases are released. As they heat up, they expand causing the pressure to build up until it explodes.