Why are mushrooms growing on top of your grandmother's grave?
Because graveyard soil tends to be rich in organic matter, there is a chance that mushrooms may grow around the graves.
Specifically, the soil-dwelling critters of the soil food web die and decay. Their body parts break down and in so doing enrich the soil with nutrients such as nitrogen. The nutrients tend to stay in place in graveyard soils. So the nutrients are there to be accessed by plants - such as mushrooms - that favor nutrient-rich soils.
Spores which are in mushrooms fall out of gills in the mushroom.(the lines i on the underside of the mushrooms top).Those spores land on the ground and can stay their for years until the right amount of debris and water are supplied.These spores are called dormant until they are ready to produce a mushroom.