MM, I guess, regular abortion on the later stage is only allowed for medical reasons, due to mother's health and life threat.
In case of this family, it was a pure homicide for the reason of "wrong" gender of the baby.