It makes you feel good because you value the act of doing good for the idea of humanity. It is specifically because of your value of life that this sharing makes you feel good.
I’d argue those are the same thing, but sure it isn’t necessarily the direct relationship with that person if we just want to be more precise about it. But I still think it’s the same idea.