This is a little off-topic since I addressing how science and morality are not in competition. 

God makes hetero and homosexual people and we are to think that He only wants the heterosexuals to share a life together? A transgender person can get an operation to live the life that matches their psychological makeup (gender identity) and removes the daily stress of living a pretend gender. Are we to think God would not want this? If the moral teachings ignore these realities of life, then the teachings are not from God, in my opinion.