No, it;s not "science", you seem to just be making this up as you go along.
The differentiation is normally triggered by the presence (or absence) of an SRY, the desx-determining region on the Y chromosome. Id somoene has a DSD then they may not have the typical karyotype for their sex (XX or XY) but in nearly every case they still develop down one pathway.
Doctors are not making a choice based on external genitals, they woil use genetic testing to understand what condition a child has, and work from there.
As is always the case here, of course, this "assigned" conversation, as brought up by TRAs, is referring to people without DSDs. The claim is that a completely normal XY male was "assigned" male at birth.
Pretending that it's about DSDs is a diversion. Inveting "science" to back up the erroneous claims about DSDs is just a bit strange.