Perhaps she became friends with you because you looked/behaved like the archetypal "nice guy/girl"? If so, she believes that you are programmed to be always there for her, understand her, reassure her that she's always right, unconditionally agree with her on anything, and basically tell her what she wants to hear, even if she was the one who got herself in a massive shitstorm.
And now she discovered that you are in fact self-aware and have your own views and opinions, you became useless to her and she started to turn against you. It would have happened sooner or later unless you do as per described in the paragraph above, this website was just an excuse.
But don't worry, if this is indeed the case, she will ghost you in the near future. (If that happens, just don't ever try to contact her in an attempt to fix your "friendship". She will claim you've never really been friends, you are an awkward creepy stalker, and you are harassing her.)
TL;DR: if the situation was exactly how you described, you did nothing wrong.