Both elephants and humans perform rituals when deaths occur.
However, I do not see any evolutionary benefit of this. The rituals take time, which apparently could be better spent hunting, foraging, traveling, mating, or grazing.
I am interested to know if these behaviours have any significance and whether they confer any kind of survival advantage.
A cursory google revealed nothing about this.