I think it is because you’re putting yourself first, and you weren’t getting what you needed (or the expected support) from these friendships. Time is also a factor, but it pays to keep the sunk cost fallacy in mind - years invested in a friendship doesn’t make one that’s run it’s course worth keeping.