Exodus 21:22 states that if a man causes a woman to have a miscarriage he is to pay a fine. Verse 23 continues that if the woman dies the offender is to be put to death.
Numbers chapter 5 instructs men who believe their wife was unfaithful to take her to the high priest. She is to be given a drink. If the unborn child is fathered by the husband the child will survive. If it was fathered by someone other than the husband she will have a miscarriage.
"May this water that brings a curse enter your body so that your abdomen swells or your womb miscarries.” Numbers 5:22
YHWY doesn't see unborn children the same as Christians.