Respuesta :

The gas wants to escape. It is expanding due to change of pressure and it cause the magma to bubble up. 
JohnnyR is correct with his answer.