Many beliefs of the Catholic and other Churches have changed through out the ages.
Even in the Catholic church, abortion prior to quickening was a venial sin until
1869 when it became a mortal sin, except for 1588-1591 when it was also a mortal
sin.

Abortion prior to quickening was not illegal in any State in the US before 1800,
and was not illegal in all States until the early 1900s.