The thinking (all by male doctors I think) is quite revealing.
Botched circumcision destroys penis = not a real man therefore = female.
Born without typical penis and undescended testicles = not a real man therefore = female.
It seems to have a lot in common with the reasons often mentioned in articles about how a boy knew he was a girl.
Male child but does not meet or embrace whatever the expected physical, emotional or behavioural standards are = not male. Followed by well if not male enough = female.
Notably there is no measuring of does this meet the expected physical, emotional or behavioural standards of being a female child. Presumably because they don’t have one, or have a need for one beyond doesn’t fit the male one.
Then once the child is heading towards adulthood, the same people who had no female standard for children suddenly have a long defined list of physical standards for an adult “not man.”
If you look at the typical medical interventions they all seem to be a checklist of what does an unevolved heterosexual man require in a female partner. Feminine appearance, boobs, no body hair anywhere that doesn’t match the imaginary female standard (they don’t seem to know women have body hair), not too tall, and an opening that is additional to the anus between the legs that a penis can fit in.
They can’t see any distinction between female and the group defined by men as “not male enough to be a real man”
They don’t have any concept of woman beyond “not sufficiently manly” and if adult “fuckable”.
edited because I can’t spell