Congrats, you spotted a flag! You seem a bit confused about the color. It’s red, very very red! Here is why:
He’s angry at you. Why? Because you don’t do as he says or wants.
He then trash talks about you. Why? Because he is angry, and wants to hurt you, but not openly on your face no no. Because if he did hurt you openly, he knows you are smart enough to never again do what he wants and as he says.
Did you get that right? I said, He wants to hurt you
Finally, he asks you to go be with him. Why? Well he wants you for something. But if it were to give you love and affection, he wouldn’t be trash talking about you in the first place. He just wants someone to validate him, someone he can control. Obviously. Nobody in their right mind wants someone who they say is a slut and they are angry at. Unless, of course, you can still fulfill his need for validation and control.
Run away
Don’t give this person the time of the day