Such complex social behaviors are taught from generation to generation.
And makes even more important the need for conservation to protect pods of dolphins so that they do not lose this collective knowledge. If these pods gets destroyed, then other pods have to figure out the technique from scratch.
Apart from humans, some whales go into menopause. The evolutionary benefit is to have experienced females help raise their grandchildren and pass knowledge to them. This makes it even more important to protect older animals.