Accepting something from the dead is regarded as good while giving him something is regarded as bad.
If a person sees a dead person giving him something of this world it mean he will acquire livelihood from an unimaginable source. And if he sees himself giving a dead person clothes normally worn by living persons and he accepts such clothes and wears them it means he (the giver) has a short life span.
[1]