Feel-Good, Do-Good Phenomenon
When do you help other people? According to this theory, you are more likely to help other people when you are already in a good mood. So, if you just got an "A" on the big exam and a friend just gave you a great gift, you are more likely to help someone else that you might not if you weren't in such a good mood.