Why my boss is trying to make me jealous?

Long story short, I used to have good relation with my boss but I didn’t like the environment and some of her employees also sometimes I get mad from my boss attitudes but overall we’re good.

i had a chance to choose which team I want to be in for the next FY, so I chose another team.. they didn’t rotate me yet but she knows about the rotation, now she’s not talking to me like she used to be, and she‘e trying me jealous whenever she had the chance like she would say (x is the best employee I have here, I don’t want anyone but x with me, and I’m satisfied with x) I left the team because x is a bad influence who would lie and say bad things about everyone, and I went to my boss and told her about what x say and do before leaving the team.

And now she’s pointing out my flaws (even though I didn’t do anything wrong) when she used to like my work a lot.
Why my boss is trying to make me jealous?
Post Opinion