Not everyday is meant for cracking jokes on someone.
May be you achieved something and had a wonderful day.
But think, someone might have been gone through the worst day at his work.
So, before making a lame joke of his situation,
Please have some humanity and let the person take his time to build up himself again.