It's called the "Halo Effect". It basically means that people who are "good looking" are treated better because people put them on a pedestal and assume they are a better person by being charming, personable, smarter, funnier, etc. Biological anthropologist Helen Fisher has talked about this.
Here's a link to a 2020 episode on the "The Privilege of Being Beautiful". I saw it when it first came aired. It was REALLY interesting!
Helen Fisher quotes on the "Halo Effect":
We want to associate with beautiful people because we think their lives are so much better than ours, said Rutgers University anthropologist Helen Fisher.
"It's just remarkable the attributes we give to a human being who is good looking," Fisher said. "We think that they are smart. We think that they're funny. We think that they're friendly and warm, and social and popular."
"Men are more willing to move your furniture if you're a beautiful girl," Fisher said. "They're more willing to donate blood to you. They're more willing to stop on the side of the road and help you change your tire."
"People assume that a person who's very good looking is doing a better job than in fact they are doing. So they rise up in the company, and they have more status. They have more power," she said.
"When men take a look at a good-looking woman, all kinds of parts of the brain become active so that they can feel better. They want her," she said.
And here she goes more in dept as to WHY:
"I suppose it is stupid, but natural selection has evolved all kinds of mechanisms in order to win, and this is one of them," Fisher said.
By natural selection, she means thousands of years of evolution. Good looks are often a sign of health and fertility, so evolution has conditioned us to prefer certain looks.
"Don't forget, it's survival of the fittest, and if you have four children and I have no children, you live on and I die out," she said. "So this game of attraction really matters."
Fisher pointed out that we couldn't help our reaction to beauty. It's just automatic.
Does this clear up your question?