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.
Coffee is your friend. Everyone else is an acquaintance.