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].
[1] https://www.google.com/webhp?sourceid=chrome-instant&ion=1&e...