Why is she saying hi all of a sudden?

So I was seeing this girl for about a month until she decided to cut it off and push me away, we constantly ran into each other and everytime she acted as if I didn’t exist, avoid eye contact, but if she did look, it wasn’t pleasant and would literally run away from me, kept this behavior up for two months, but now she’s being nice and going out her way to say hi, can anyone help me understand what’s going on? I don’t wanna take her friendliness as a sign of returned interest cause that could make things weird again, but if it is I’d consider it
Why is she saying hi all of a sudden?
Post Opinion