Even if an organism is buried, there is no guarantee that it will fossilize.
Have you ever picked up a handful of dirt and found all sorts of worms and other living things crawling around?
Many types of
decomposers
live in the top layers of soil. These decomposers can break down dead organisms before they can harden into fossils.