Transfer of Heat. Magma can also be created when hot, liquid rock intrudes into Earth’s cold crust. As the liquid rock solidifies, it loses its heat to the surrounding crust. Much like hot fudge being poured over cold ice cream, this transfer of heat is able to melt the surrounding rock (the “ice cream”) into magma. Transfer of heat often happens at convergent boundaries, where tectonic plates are crashing together.