Am I a bad person because I accidentally outed a guy still in the closet?
Why would you want to do that?
I didn't mean to make him depressed with his flawed life.
You accidentally did something and that is clear as day. Watch what you say even by accident, words get in the way of having a meaningful relationship sometimes. The guy was probably a nice person who wanted his privacy and you lost a chance to be friends with him.
I was just joking around and he got annoyed easily. It's hard being a joker in this country.
That was a big moment in his life and not something to joke about. You should feel bad about doing that to him.