They've found this to be the case in a lot of different situations. Trauma, illness, mental challenges, depression, etc etc etc. Something about an animal that loves you unconditionally (dog) or hates you unconditionally (cat) but will let you pat it.
I told my kids, "Someday, you'll have kids of your own." One of them said, "So will you."
-- Rodney Dangerfield.