Yes - there's two things that bother me maybe.
One is the 'marriage must be preserved at all costs' thing. I don't ever agree with that.
The second is how invisible the spouse is, as you say.
The marriage has changed hugely as her spouse has changed.
And I don't believe that it's unrelated to sexuality. Mostly with late-onset male to feminine transition it's AGP isn't it?
So a woman is lying to herself or being gaslit.
And that's before considering the children.