It's called initial attraction.
For most guys, it's the only thing that matters, and they will only approach a girl who looks "hot" or whatever. A lot of girls are this way, too. Most men think with their dicks, not their brains. Then once they date this pretty face, but total *****, they then...