Sounds to me by your description that he's just being a friend and nice! When things go well for my friends whether male or female I'm happy for them and will smile at them. If they're having a bad day or they are sad, I will do my best to help cheer them up, even if it's just listening to them. I would say you have a good friend!