How are people justifying assault on a pregnant woman?

I don’t understand this logic. If there are issues in the marriage, just separate. How can physical assault ever be justified, under any circumstance.