Maybe you should ask 'him' if 'he' is, or if he thinks 'he' is
Do it carefully though
Something like
"Hey, dad, I was wondering, are you by any chance a trans girl, or something like that? I was just curious, and I don't mean any offense at all"
You can say those exact words, or change it up a bit