2. What could be the possible justification for this?

I don't see how a company could get away with firing someone for something that is completely out of her control. It's ridiculous that we have to pass laws to keep employers from doing this to abuse victims. Even without such a law she should be able to sue that company for wrongful termination or discrimination or something.