Of course it does. Planting trees on ancestral graves is a taboo of geomantic omen, and roots will run into coffins. If the roots of trees escape into the abdomen of the deceased, most of their descendants will have abdominal diseases. If the roots escape into the brain, some of his descendants will get brain diseases, as will other parts.
Don't believe what mediocre teachers say about how good it is to plant trees on ancestral graves. It's all nonsense. Don't believe it, remember!