It’s not brutish human nature that prompts nasty posts and tweets, the author says. But how we evolved does play a role.