Researchers used AI to analyze photos of Olympic medalists and found that bronze medalists appeared happier than silver medalists. A cognitive process called ‘counterfactual thinking’ may explain why.