"Compersion" being happy and loving because your partner (or others) are happy and loved, or are in love.
Its a wondrous thing. Do a search and find out more. Really, its very common and a strange phenomenon. I don't question it. It just is what it is I guess. If you find out why, please let us know. Otherwise, enjoy!