Girl called me ugly?

I was in class and we were allowed to sit in groups and a friend of mine said that me and this girl should get married and the girl was like eww and called me ugly then apologized afterward. . The next day I purposely fflirted with her and she said I am ugly but complimented the way I dress? I am so confused there was a girl from the same classroom told me I was hot afterschool?

The girl that called me ugly was very very unattractive which hurt my ego and also she said she was in love with her boyfriend and there going to get married.
Girl called me ugly?
Post Opinion