Developing empathy is a matter of learning which emotions go with certain events.