The biblical punishment for causing a miscarriage is similar to that for property damage rather than causing injury. If you are living under bible literalism and aren’t an adult cis male you don’t have rights.
Exodus 21:22
22 If men strive, and hurt a woman with child, so that her fruit depart from her, and yet no mischief follow: he shall be surely punished, according as the woman’s husband will lay upon him; and he shall pay as the judges determine.