 Or it is moral at stage X and immoral at stage Y. Or it is moral but there are exceptions for rape and incest. It's because you have competing goods, the protection of life and in effect forcing a woman