The molten material can be called magma or lava. Magma is the term used for molten rock that is underground, while lava is the term used for molten rock that breaks through the Earths surface.