My dog only sticks around because I feed it. But then that's the same for my partner.
I suppose you could say its some kind of need for companionship? For me and my partner that's evolutionarily good for raising our spawn. But my dog has been genetically bred for 1000s of years for our purposes, maybe for a dog, it's unnatural to love, and a form of genetic enslavement? Maybe they've just learnt they get rewarded when they show 'love'.
Of course theres also the chance that you're anthropomorphising an animal.