I dunno. Sometimes people say not-so-bright things because they feel awkward, feel that they have to say SOMETHING, and end up stating some banality or stupid comment.
I would try not to get het up about it. Just keep doing what you are doing.
You don't say how long you have been sober. I can tell you that I was super sensitive about drinking when I first gave it up. I felt like everyone was looking at the loser neon light above my head.
That passed in time. Peace.