Why would a guy hide the fact that he's married from me?

Someone mentioned that he's married in front of me (he didn't know I heard it) and he literally freaked out and kept looking over to see if I had heard.

Why would a guy hide the fact that he's married from me?
Post Opinion