Do guys hit on ugly girls for the sake of it?

Basically, I was on campus and it was by the library. A guy asked me where the library is and I told him. He then said he actually knows where it is and wanted to somehow talk to me bc I’m really beautiful. I did reject bc I was shocked and I’m not mentally well anyways. But did he actually mean it a bit? I remember once walking on a street and a guy telling me I’m f***ing ugly. So I’m surprised this happened. And that guy who asked me out I’d argue he is out of my league. There was also this other time a guy kept trying to talk to me and eventually he asked me what are we. But he said he just kinda likes me. And it’s just a 5-month relationship that he wanted. He said he was lonely. I declined. So is it like desperate guys think I’m willing to give them a chance bc I’m ugly or smth?

Updates
1 y
They both asked me in a non-crowded area. They both looked kinda straight faced when asking me
Do guys hit on ugly girls for the sake of it?
Post Opinion