So, when someone is born with a birth defect, let's say that he/she has both male and female genitalia, is that not a disorder? Where did it come from? Our fallen nature is subject to disorders.
Ontologically, the hermaphrodite still has either an exclusive masculine (male) or feminine (female) soul, despite the physical birth defect. The soul created by God has no ambiguity in its nature & identity. Hermaphroditism is no different than being born with no limbs or any other grotesque disfiguration, but it's no reflection of the soul of the person.
The parents & priest of the hermaphrodite must pray, fast and give alms for the child in his formative years so the child, parents & priest may finally discern the actual sex of the person according to his soul, and proceed to corrective physical surgery. This is not the same as the mortal sin of the grotesque perversion of "transitioning".
And don't tell me souls have no masculine (male) or feminine (female) nature. St. Michael the Archangel is named "Michael" because of his masculine (male) soul, despite not having a physical body.