As magma rises, pressure , causing dissolved gases to expand and form bubbles. The size of the bubbles increases, exerting a lot of force. The force of the expanding gases pushes the magma from the up through the. Molten rock and gas explode through the , which is at or near the top of the volcano.