If transsexual is mental disorder cured by transitioning and Allah gave medicine then why is transsexual a no no in islam?

I don’t understand why allah would torment those who have disease mind/body. And what will happen if we discover the transsexual gene the brain is gendered opposite of birth isn’t that then permissible as intersex
4 answers 4