3. Magmas are mainly liquid and contain dissolved fluids such as water; most are less dense than the adjacent solid rock.
Magmas rise toward Earth's surface because they are mainly liquid and contain dissolved fluids such as water; most are less dense than the adjacent solid rock.

(Image source - link)