You are getting downvoted, but this seems to be a very non-trivial question, especially if historic context is taken into account.
For example, a mere 100-150 years ago, syphilis was widespread in the population, and it often resulted in face deformities [0] and deterioration of the mind [1] at the same time. For someone living in that era, avoiding people who looked ugly and unhealthy might have been a useful heuristic.
Maybe we still use an outdated heuristic from the age of syphilis.
[0] https://en.wikipedia.org/wiki/Syphilis#Tertiary [1] https://en.wikipedia.org/wiki/Neurosyphilis#Neuropsychiatric
That being said, I think your analysis is correct. I think, if you removed a lot of the technology-based attractiveness (make-up, haircut etc.), attractiveness is probably just a heuristic for genetic or general health. Of course, this is an empirical statement, so I imagine it is something that could be/has been studied, I was more commenting on the fact that the article totally ignores this thinking.
It's all a show. But wisdom isn't what you know, it's knowing how to exploit what others don't to your benefit. It's not nefarious but part of the game.
Now this is clearly speculative and based off my own observations. It's significantly more nuanced than this and more than just one unconscious decision people make. It is however ingrained in us to know culturally what "success" looks like, and we meter others based on that.
Does this actually provide value without being contrasted to "objective" measures? Are attractive people actually more intelligent, friendly or trustworthy? If they are, this sounds more like a useful heuristic rather than an unfair stereotype. I know I can find this research myself, but it seems weird to not even make reference to any objective measures in this context.