In a neuroimaging study, scientists have found that having allegiances with people can affect feelings of empathy when punishing and rewarding others.