Why does ignoring her just gets her attention?

Jackob
I worked with that girl for about 1 year, and never really talked to her or care about her for the whole time, until she began to talk to me and everything, and that she have a crush on me. Since I thought she was nice and cute, I have been nice her for about a month now. I was hanging out being as nice as I could be and I have only been respectful and everything. After a month, she was talking to me about how she miss her ex boyfriend, as if I was is friend. I was like ; omg, wtf, etc. Then, 3 days ago I went up to the store we both work to check out my schedule, knowing she was working, and I totally ignored her, she followed me in the backstore, I had my headphone so I continued, then went outside to get home, she followed me outside doing as if she had to do something outside lol. Then we she got home she called me and said what's your problem I thought we liked each others and I thought we could date. I'm starting to think if I'm nice she will be friend and if I act like an asshole with her she will love me. This is strange. And I hate acting like that but well.
Why does ignoring her just gets her attention?
2 Opinion