I'd like to know exactly what studies you're referring to. I'm curious to know how they determine if a brain is male or female. The brain is a very flexible organ; what started out "male" may end up "female" through conditioning. Sounds like junk science.
https://brainworldmagazine.com/what-neuroscience-tells-us-about-transgender-people/
https://consultqd.clevelandclinic.o...idence-and-implications-for-practice-podcast/
https://psychcentral.com/news/2018/03/16/structural-brain-differences-for-transgender-people#1
https://neurosciencenews.com/transgender-brain-9234/
https://news.usc.edu/158899/transgender-research-usc-brain-gender-identity/
https://www.the-scientist.com/featu...ifferent-from-those-of-cisgender-people-30027
https://pubmed.ncbi.nlm.nih.gov/35329908/
https://globalnews.ca/news/4223342/transgender-brain-scan-research/
Be it as it is, neither I or you know whether these doctors are right or not. But the fact their studies indicate it means there is a possibility they are right. Also, you have to remember the Bible was written at a time when people didnt even know Cancer existed. Back then, there wasnt a lot of scientifical knowledge like we do now. It could be that Deuteronomy hated people who dressed in a different way because he didnt know about transgenderism and he put that in the book, THINKING God had made him write it.
The Bible is inspired by God's sayings, but that does not mean that everything in it is what God said. The Bible was written by humans, and humans err.
If you think this came from God :https://www.biblegateway.com/passage/?search=Leviticus 25:44-46&version=NIV
then I dont know the God you believe in.
Sorry but thats the truth.
God bless you!