How to resolve this friendship?

For clarification, this has nothing to do with romance. I have a female friend in my HS. Most of my friends in this HS are girls, but she was originally one of the closer ones, but her emotional state fluctuates a lot. She seems to have been ignoring me lately. Whenever I tried talking to her, she told me to just not talk to her, but she would only talk to me when she needed my help. On top of that, she removed me from her Instagram close-friends list (not a big deal for me, but it does signify something on her mind.), and she actually told that right in front of my face. She made hangout plans in front of me, knowing perfectly well I can't be invited because it is a sleepover. (I'm a guy, and they're all girls.) She would sometimes just stare straight and not talk to me at all. When I text her for help, she takes ages to respond. (Like she actually just ignores it because she would post new stories or stuff and not even click into the chat.)

To be honest, I'm tired of it. I thought maybe I said something wrong. Maybe I did something wrong, but if I do, she better tell me what it is. I'm not a mind reader. I'm really sick of it. I wanted to confront her about it, but given her personality (she is kinda a drama queen.), she may simply call me insensitive or something. What can I do to salvage this? Ignore and wait? Or talk to her about it? I thought about just ignoring her, since she only comes to me when she needs help, yet she certainly doesn't consider me to be "close" enough on her close friends list anymore. We are in the same friend group for your information.

I do not intend to end the friendship, so please don't advise that. For the few people that may think she likes me, she does not. I know that 100%. I want to find a way to make this work out. I really don't like bad blood. Any help would be deeply appreciated. No need to call her an asshole, I already know she kinda is one.
How to resolve this friendship?
Post Opinion