Why do pets like pats?

I mean… ’cause they’re awesome.