As magma heats in the mantle, it becomes blank and begins to rise results in the magma traveling to the crust where it cools and becomes igneous rock

more porous
less dense
solid

As magma heats in the mantle, it becomes more porous and less dense, and begins to rise. This results in the magma traveling to the crust where it cools and solidifies, ultimately becoming igneous rock.