Damage to the SDN or sexually dimorphic nucleus of the hypothalamus causes abnormal sexual response to incorrect stimulus or provides the incorrect response to correct stimulus. Use the way back machine on Wikipedia before it was memory holed and read up on the SDN, injecting that part of the brain in ferrets made them transgender (males act like females) and since it's dopamine modulated response it would also appear excitotoxicity caused by overstimulation could cause damage. (Like watching too much pornography)
It's even been proven that babies exposed to the wrong androgen in the woomb have a higher risk of autism and you guessed it, mishappen SDNs. To the point injecting neonatal rats with estrogens or xenoestrogens (ahem. Plastics) makes them gay/trans.
https://en.m.wikipedia.org/wiki/Sexually_dimorphic_nucleusThat's why antipsychotics like pimozide treat gender disphoria, it's a disease mediated through dopamine and the pituitary gland.
(I've been trying to get the message out on this for a while but tranny loving shills keep spamming me out so they can fool people into this horrible illness to get some ass. So thank you for asking OP.)