Anyone with any sense, never asks a woman if she's pregnant; even if she is already having contractions and they have already been told by her husband that she is. That is the sort of information that should only come 'straight from the horse's mouth'.
Which leads me to my question; do you know, for sure, that someone else in the office hadn't goaded her into asking you that, for a 'joke' (to make her look stupid)?