To behave as though you find an attractive person unappealing to you in order to flatten their sense of self-proclaimed superiority over a less attractive person.
The dude is playing ugly to that girl who clearly believes sheâs out of his league.