That's a really great question I know they're is a medical term but I cant remember it right now. I don't believe it's listed as a mental disorder though please someone correct me if I'm wrong. Someone can be born with both sexual organs of male and female and not end up with any issues.
Damn you got my brain all curious I'm going to have to look that up!
I hoped we would not get round to this.
But the three commonest issues, are girls with Turner's syndrome who lack an X chromosome or have partial deletions of an X chromosome. These present as girls of small stature, have small ovaries and are generally infertile. They have webbing of the neck, and quite often have heart defects. They identify as girls. So that takes care of XO.
Then there is Klinefelter's syndrome. These are over virilized males with and extra Y chromosome. The have low sperm counts and are frequently infertile.
Then we have pseudohermaphrodites, which is most commonly due to an inborn error of metabolism involving the adrenal glands. In females this leads to masculinization of the female genitalia, but significant metabolic issues also. The sooner the diagnosis is made the better. The earlier expert treatment is started with corticosteroids the better.
These girls, and they are, identify as girls almost always.
There there are a myriad of rare disorders beyond what we need to discuss here.
The point is that individuals claiming to be trans do NOT have chromosomal abnormalities except very rarely.
I can tell you that as a man of 76, I never came across these sort of sexual confusion until recently. Unless evidence to the contrary comes available, my belief is that this is a life style choice more than anything else. I suspect the is also a large component of exhibitionism.