In other words, the stab-in-the-back nature of the breakup has my friend confused about her gender.
I'm puzzled by this. Hetero men have this kind of betrayal happen to them all the time, but I've never heard of one becoming gay because of it. I don't know any gay men who have been betrayed quite this thoroughly, so I don't know about that angle.