Hate being the grammar Nazi, but she didn't *lose her job for who she married".
She lost her job because of who she's married to.
She isn't a hero who saved her husband by losing her job. She's a criminal whose crime is being married to her husband.
At least that's what the wording implies quite strongly.