Why does a girl try to make you jealous/want your attention if she rejected you and has no interest talking?

I've known my close girl mate for over a year and we had a lot in common, would spend days and nights chilling together, and do lots of things like cook, go on trips, go to festivals and clubbing together, I told her I had feelings for her and she rejected me and decided to cut off our friendship which is fair enough... After a few weeks of no contact, she started going out clubbing with other mates and would film it for her stories on insta knowing I would see it, I saw her dancing looking into the camera as if to say I'm having fun living my best life, and doing moves we used to do together, after I saw this one night I caved in and sent her a message telling her I miss our friendship and I wanna have fun times with her again, she saw the message but it let me on read.. A few weeks later she starts filming herself on nights out again dancing and posting it on insta, this time I won't reach out, but why does someone try to make you jealous or want your attention if they rejected you and have no interest talking?

Updates
1 y
Before the rejection when we went out clubbing and stuff she never took vids or posted vids of her dancing, it's only after the rejection and some no contact time has passed has she started to film herself and add it to her socials, knowing her settings made it visible for me to see. So again my question is Why does a girl try to make you jealous/want your attention if she rejected you and has no interest talking?
Why does a girl try to make you jealous/want your attention if she rejected you and has no interest talking?
Post Opinion