Magma may cool and crystallize to become solid igneous rock when pressure increases as rock sinks into the mantle. more slowly in the presence of circulating groundwater. very slowly (in centuries to a million years) when it forms a deep pluton. when its volatile content increases.