There were periods of time - sometimes years - where they didn't. And there were moments I thought I wouldn't be able to keep it going. But they were people I valued enough and had so much shared history with that I just kept trying, and over the years they came to value it more and reciprocated much more. Sometimes people just go through phases in their lives and they don't have the mental space for it. I'm lucky to have always had a lot of mental space and very little stress, which is why it's easier for me personally.
There were cases where the lack of reciprocation was their way of telling me they were done with the friendship, and so it ended. That happens. Happened to me about 5 times.
But there were a lot of others who were just bad at it or distracted and just needed time and needed me to be patient and not hold it against them, and who came back strongly later on.
There was one who I could tell would never change, who just didn't care and didn't know how to be a good friend, and in their case I slowly stopped reciprocating myself and replied less and less until eventually it was just dead by natural causes, me having accepted the loss of the person I wished they were.
And lastly there was one who was going through such a bad time that they kept pushing everyone away during that period, and in the end they overdosed and died. I wish I had done more, even though I tried actively - I could have tried even harder.
I think it just takes life experience to tell the different cases apart without the benefit of hindsight. Life experience and charitable assumptions.