New research sheds light on how the brain juggles morally conflicting outcomes during learning.