I dated a man once whose father was gay. A little less dramatic than transgendered, but . . .
My boyfriend father had died before I met him. His parents had divorced, and his mother, appearently as a reaction to his father's annoucing that he was gay had become a religious fanatic. As a result, my boyfriend was subjected to some pretty serious abuse in the name of religon. He was excorcised, and then molested a man at his mother's church. When he told her what happened to him, she did not believe him, and had him ecorcised again . . . the long and the short of it is that the law eventially intervened, and by the time I met him, he lived with his father's parents . . .
Anyway, I asked one day what his father had been thinking. If he was gay, why did he marry and have children? My boyfriend, who had asked his father just this question, explained:
His father had known he was attracted to men, but had been raised to think it was not normal, a perversion that he could overcome if he just forced himself to be atracted to women. More so, he wanted to be normal. He wanted to fit in. So he did what men of his generation did. He married a woman and had children. He sincerely thought that his homosexuality would go away. Or that he could ignore it. Or that he could just hide it. He may have been lying, but he was lying out of what he felt was self preservation . . . and he thought he could be happy that way. He was wrong. The marriage failed. I get the impression it was failing, for various reasons, before his father said he was gay. However, one day, he told his wife that he was gay . . . and she threw him out (appearently, he offered to stay and help with his son). He left, they divorced, and he took up with a wonderful man, who would later help put my boyfriend though private school, since he viewed him as a stepson.
Does this justify it? I don't know. But I can see, particularly in an earlier era, where the feeling that one should fit in, combined with the believe one could change one's sexual identity, could lead someone to make a terrible mistake.