It might be you two are just naturally drifting apart. Unfortunately, that does happen.
I do think she deserves the opportunity to redress what she is doing that upsets you, but outside of giving her that chance, if she is upsetting you more than she is being your friend, it might mean things have simply run their course.