Near as I can tell it’s a haphazard process. My wife is usually screened as a woman, and I am usually screened as a man.
I didn’t routinely get screened as male until I was clearly a duded. My wife is still mid transition, so it’s kind of a coin toss for her.