1 Removing heat energy, or cooling, decreases the motion of molecules. 2  If heat is added to a solid, the molecules can move fast enough to change from a solid to a liquid. ( 3 Melting). 4  If heat is added to a liquid, the molecules can move fast enough to change from a liquid to a gas.
Fossils usually only form in sedimentary rock. Sediments have to accumulate over the organism in order to preserve it. This could be a rapid burial, such as a volcanic eruption or mudslide, it could be sap from a tree oozing over an insect, or simply a slow sediment accumulation on the bottom of a lake.
Metamorphic rocks are other rock types that are changed by heat and  pressure; their transformation and mineral reorganization causes  very few fossils to be found there. Sedimentary rock can be formed  from the accumulation of sediments and are often formed near  ancient shores, basins, and lake beds.