New research shows that people often feel worse when telling others about their good deeds than when keeping them private or discussing personal achievements.