Original: Magma also contains gases, which expand as the magma rises.
Simplified: There are many types of magma.