wow idk anon, something like that would kind of piss me off, but then i'm p. possessive of my friends.
i don't mean to be harsh, but it could have been that she was friends with you at first bc you were there? not in a bad way, just that you know, two people who don't have friends make friends kind of way. what i mean is maybe you aren't very compatible, but since you've been really nice to her, she was still sticking around and being nice to you?
i don't mean to make her sound totally b*tchy btw, just that this could be a product of her trying to find friends she's more compatible with and phase you out without being awkward or (overly) rude about it. maybe she's hoping you'll get the hint and you'll go and try and find some other friends as well? or maybe she literally doesn't understand what she's doing and it's all a misunderstanding.
imho, i would give her some space, maybe try to make/hang with a few other friends yourself. if she's trying to get rid of you, then she'll be happier and probably won't try to interact with you at all. if she just needs some space then hopefully by the time you've been away from her for a few days, she'll be more willing to talk to you and stuff. but if it's a misunderstanding, then she'll come to you or she'll feel upset/abandoned (which seems horrible) but also means that you can actually talk to her about how you've been feeling too.
in any case, good luck anon.
p.t.