what would happen if igneous rock was first exposed to energy from the sun and then millions of years later to energy from Earth's interior?