The world is full of psuedo friendships. It's as though you are just a placeholder until something better comes along. I was speaking to my niece the other day about this very thing.
When people don't welcome your presence; respond with your absence.
You didn't lose a friend; you lost a placeholder. For whatever reason, she has moved on. Never make someone a priority who chooses to make you an option.