What does it mean if a guy is kind to you even when he's sad?

So there's this guy I like in my class. We aren't exactly close but we're friends. He failed an important exam on his birthday, but when I wished him and said good luck, he replied warmly, even sent funny stickers and everything. I didn’t think much about it until I found out he actually failed his exam. Does it mean something? Or is he just being kind?

What does it mean if a guy is kind to you even when he's sad?
Post Opinion