Question: how are vesicular rocks formed?
Answer: As magma rises to the surface the pressure on it decreases. ... When the magma finally reaches the surface as lava and cools, the rock solidifies around the gas bubbles and traps them inside, preserving them as holes filled with gas called vesicles.