Which occurs just before a volcanic eruption?

Lava flows onto the sides of the volcano.
The expanding gases push magma through the pipe.
A pocket of magma forms beneath the volcano.
New rocks are formed as lava hardens.

The expanding gases push magma through the pipe.