That's because the giver secretly expected something in return.
And that's okay and expected - it would be unrealistic to expect people to be 100% ideal givers.
In the parent post's quote "If you’re a giver, what are you looking for?" the "If" is doing a lot of heavy lifting.
No. Prior expectations are not the only way how one gets resentful. Being tired is another. Realizing you have not done something you like for long time is yet another.
And all of it is healthy. Being submissive doormat and not having boundaries is not healthy.
There is value in being able to ask for what you need and being able to realize when giving is not reciprocated.