That's why it troubles me when I find I no longer wish to continue a friendship.
There seem to be two main factors in whether I want to continue a friendship.
One is how the person treats me. Do they treat me as a friend, as someone they treasure and respect? They need not spend a lot of time with me, but the way they treat me needs to be proportional somehow to the kind of relationship that we have. If they don't honor the connection that we have, then I may need to turn away from them.
This is difficult. I still treasure the person, and yet keeping them in my life erodes my self-esteem.
The other is whether I value who the person is. What I value: people who can live with the fact that not everything can be known, understood, or fixed. People who let others be what they are rather than trying to reform them.
It is reassuring, after seeing someone I no longer like, to see people I do like. I realize that I am not someone who just rejects everyone, someone who cannot accept the fact that everyone has flaws. I realize that there are clearly identifiable traits that make the difference in who I like and who I don't like.