Why do some rocks contain fossils?
Some rocks are old.These sometimes have fossils.This is because the rocks used to be mud.When a inprint is made on the mud and does not get washed away the mud hardends the inprint stays.Years later the inprinted mud turns into a rock.If you get lucky and crack that rock open, the inprint is there.