Historically (we’re talking hundreds of thousands of years) the men who possessed these qualities produced offspring with a higher chance of survival than men who didn’t, and as a result these men were responsible for a greater percentage of surviving children.
The increased success rate was probably something marginal, but over hundreds of thousands of years, even a marginal advantage becomes extremely noticeable and widespread throughout a species.
Producing offspring with a faker could be disastrous for the woman; a faker likely does not have adequate resources and social influence to provide for her offspring.
To counter this, women must be able to differentiate between the men who genuinely have wealth and social status, and those who are faking.
If you were suddenly made better looking, a few inches taller, and inherited a billion dollars, would you behave the same way you do now? You’d instantly be more confident, more relaxed, happier, less stressed out, and so on.