Guys like when your mean to them?

I’m dating someone and I notice when I hate something that he does and I call him out on his shit he straightens up and falls more in love with me. Ex: he didn’t want to pay for my food on the first date because he feel like women use him. Well I told him no fuck that I dont accept that. And he straightened up and he took me on an amazing date and he started telling me he was falling hard for me and he wanted to take care of me. Weird much? lol but I told him how I hated how his room was so dirty he cleaned it up the next day and sent me a picture of it. Anybody experienced something similar to this?