Buddhism created a profound problem for ancestor worship in China.
If your ancestors are already reborn, who exactly are ancestral rites meant for?
Chinese Buddhists resolved this through merit transfer: the living could still help the dead by shaping their karmic future.