So disrespectful but I’m so confused wtf

My question is, is he trying to flirt? So I went to a party last night and this guy at my school (we’re kinda friends cause we’d talk in class n stuff) says hi to me and we start talking and he asks if I’m spending the night and I say no. He starts punching my boob. Just playfully though not like serious he was like joking around and laughing. It seems like he’s trying to flirt at this point. Then he starts telling me that he doesn’t like talking to me and everything about me is annoying and he’s smiling as he’s said this. Is he genuinely trying to flirt or is he being serious? Is this his awful way of flirting? Some guys are mean to a girl they like so I’m wondering if he’s one of them. Like boy wtf we’re not in 6th grade 🙄