Any Bible believing Christian knows that many of Jesus’s healings were to drive out attached spirits.
Guess what happens to a person when a spirit of the opposite gender attaches to a person. They start feeling and thinking they are the opposite gender!
I’ve encountered this many times over the years.
Somewhere in Hell Josef Mengele is shaking his head over having been born too early.