Hrm.
I always thought that ... if a gift is given with a transactional expectation, of any kind... its not a true gift, it has strings attached, which are often not verbalized, not made clear or explicit.
This is transactional, controlling, in a messy way.
...
I have always thought that a gift should only be given out of... just genuinely caring, and appreciating a person...
... if anything, the only non 'perfectly' altruistic element of it would be you hoping to experience the other person genuinely enjoying receiving the gift, hopefully not performatively pretending to enjoy it.... their joy makes you happy, because in some sense, platonic or romantic, you love them.
Or I suppose at the very least, 'I don't need this anymore, but I know you well enough that I think you would find joy or use in it'.
I think that that mindset of gift giving is ... more healthy, comes from you, is much more in your control, you don't have any expectation of being able to make them like or love you more... worst that can happen is they don't really appreciate the gift, or find it offensive?
And if those latter scenarios occur... well, be ready for that to possibly happen, prior to giving the gift, prior to buying or making it or w/e.
...
Its... also not good to try to do the uh, apology gift type of thing either, "I fucked up and was shitty, here's something to asymmetrically compensate you."
Thats also another kind of transactional gift giving.
...
I am not sure if this is entirely making sense, but I do think that being more altruistic with gift giving, and ... giving gifts you can actually afford to give... doing this is you doing something yourself.