she turned on you because you changed on her (maybe you didn't even notice that you changed)
try giving her some space and consider it an L. Maybe she'll come back, maybe she won't. it's hard and we've all gone through this but keep your head up and try to focus on other stuff. Girl's feelings change like the wind. never count on it for anything. And it doesn't matter if you fukked her or not, kissed her or not, etc. it's all in the mind. If you want to get her back, the best way is to become the man she was attracted to at first (IOW, not needy, not pushy). She already secured your devotion and protection, why would she put anymore energy into you when she could be spending that time and energy on securing someone else's devotion? But truth b told, even that's not a good mindset because that would still make it about "getting her back". Just do you as they say. give some space and let her choose.