What makes a guy do this?

1. Having a girlfriend but still staring at another girl.
2. Repeatedly breaking up with a girl but goes right back to her if he can't get the girl that he wants.
They broke up like 4 times
3. They are still following each other on social media but no longer on TikTok.
What makes a guy do this?
Post Opinion