Science seeks answers. A couple of possibilities:
[S]tudies have discovered that as people age, they seek out situations that will lift their moods — for instance, pruning social circles of friends or acquaintances who might bring them down. Still other work finds that older adults learn to let go of loss and disappointment over unachieved goals, and hew their goals toward greater wellbeing…