Why do girls like guys who have been with hot girls?

Is this a thing like "oh that guy got a attractive girlfriend there must be something about him" or is it something else? Pls explain.
Why do girls like guys who have been with hot girls?
Post Opinion