Even simpler than that. Healthy people are more attractive and more attractive people are more successful[1], which in turn makes them more successful socially because people like to associate with people who are more successful than themselves for various reasons[2].