A commenter points to John Tooby, Leda Cosmides, and Michael E. Price (2006)
We think that human evolutionary history has equipped the human mind with specialized psychological adaptations designed to realize gains in trade that occur both in 2-party exchanges and in n-party exchanges, including collective actions. We believe that the specific characteristics of these mechanisms (e.g. cheater detection circuits) reflect the ancestrally recurrent structure of these adaptive problems (the existence of payoffs to cheating). . .we
think that many of the ‘irrational’ behavioral expressions of these mechanisms (such as voting behavior or donating blood) will come to be recognized as engineering byproducts of these functional designs when they are activated outside of the ancestral envelope of conditions for which they were designed.
Later:
the greater the number of participants is, the greater the comparative advantage of conservatively perpetuating pre-existing arrangements will be, however beneficial or flawed those pre-existing arrangements were.
Because it is difficult to foster cooperation among large numbers of people, we rightly seek to preserve systems that work.
We feel pleasure upon becoming a valued member of a group, satisfaction in its creation and successes, and sadness at its dissipation.
Think of finding a job or losing a job.
Still later:
we think that the human mind contains an evolved, functionally specialized motivational mechanism that, when exposed to a situation of personal exploitation, generates a punitive sentiment toward the agent that is deriving an unfair advantage in an exchange
Hence the furor over “price gouging.”
Punitive strategists switch on the productive possibilities of the groups they are in, unleashing collective efforts that would otherwise be inhibited by the presence of free riders. This happens because the presence of punitive strategists in potential exchange interactions repels free riders, causing them either to avoid such interactions or to become (facultatively, in the presence of punitive strategists) behavioral cooperators. Because free riders avoid punitive strategists, punitive strategists will far more often find themselves in groups without free riders
Many people feel sentiments according to the following social exchange logic: I will give up the benefits of violating this moral rule if others in my social world do. If I followed the rule, and you did not, I have been cheated by you. The more others cheat on a rule I follow, the more exploited I feel, and the more tempted I am to discontinue following the rule when it is costly to do so