Have you tried talking to her about her sudden change in mood toward you? Maybe she has a reason that neither of you has clearly understood yet, so it’s better to ask her directly.
If she really has lost interest in you, then it’s best to move on. Nothing good will come out of forcing things. You can’t control it anymore, and if you keep pushing, you’ll just end up getting hurt and wasting your time.