Why do women lead you on only to test you?

Exactly what the title says. Why would she be flirting with me in person like she touched me that was when I noticed she liked me then I noticed she’d be all shy around me and could hardly ever keep eye contact she’s called me a pretty boy and told me I love fighting with her but she always says friend very subtly. (I think that’s a test bc I’ve ignored it every time and she still flirts with me) she tells me when she’s free she checks in with me etc. and suddenly Bam she goes cold. She went cold the last time I saw her because her boss said she has to keep work and whatever we have separate (her words). Ngl that made me want her even more and I told her that and then she goes cold and doesn’t respond. Am I being played like a fool right now am I just some dude she sees as free attention or is it a wrap and I should move on because I really liked her.

I honestly feel like she does like me and still does. Is she flirting with me or is she just being nice.

Now I can’t stop thinking about her. Do I give her space and forget about her and move on or do I talk to her still.
Why do women lead you on only to test you?
Post Opinion