system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: Why do a lot of animals love good pats on their head, even when they are NOT domesticated?

There are videos of a lot of wild animals getting a good pat on their head, seemingly enjoying it. Or maybe its a good stroke over their necks, or being cuddled. Preys and predators alike. What evolutionary advantages drive them to act this way?
gpt
Rubbing or nuzzling is often a sign of affection or bonding for a large number of mammals. Even birds can preen each other to bond, in some cases. But not all wild animals get any kind of good feeling for rubbing. For example, most lizards and fish do not care at all about that kind of attention. A dew fish might do some grooming to remove parasites so those ones might enjoy some touching since it would normally mean they are being cleansed of parasites, so they have an evolutionary pressure to seek out (and thus enjoy) such situations.

Of course, non-domesticated animals are usually (and *should* typically be) timid around humans, so they usually aren't just going to walk up looking for pets.