Igneous rocks form when melted rock hardens