I don't think anyone no matter how good they are can give you the answer you seek without it being a hypothesis that cannot be proven. She is a complex person just like yourself and this isn't a plain easy to read situation, it's complex too. MY GUESS though is that she realised you were fed up that things weren't going anywhere and that you felt like it was becoming a waste of your time so she realised you have self worth (which is incredibly attractive) won't put up with being toyed with, yet you are interested in her and that's why you were acting how you were. Honesty and true intentions are far more powerful and productive than any routine or set of lines. Although you may have "broken some rules" that even I frowned at, I admit I break many rules like that on a regular basis because I value myself and yet I am open enough to show my interest without playing games and girls love that I don't play games.
Good job, hope it keeps moving forward for you. I use the principles of punishment and reward, not with girls, but with PEOPLE. When someone does something bad it is a good thing to let them know you don't approve. When they do good it is great to let them know you appreciate what they've done (even if the good or bad things aren't directed at you yourself). This lets people know how you feel about them and makes them feel closer to you and open up more, as well as tend to do good things more often than bad. On the other hand, if this becomes a judgmental manner of behaving and they feel you are judging them and being "holier than thou" then you have pushed it too far and you probably want to tone it down a bit. Perhaps you were pushing it a bit too far earlier without giving her reason to feel like you had the kind of status to act the way you were and that's why your interactions began lacking, then once you displayed your feelings of self-worth she realised that you had the personal values that you were simply projecting outwards for others to see.
Truly I don't know, just some food for thought. There are at least a few dozen possibilities but that's the most likely one I can suggest.
~ Rye