The motivation for passing anti-abortion laws is purely punitive. Being anti-abortion is about punishing women* (for having sex, for being women**), as are all the other policies (or lack thereof - e.g. lack of paid leave) that make those states bad for children and families. So yeah, it’s totally consistent.
*And let us not, for even one second, pretend otherwise.
**Or for being trans men, but I feel like conservatives work really hard to ignore the entire existence of trans men for the most part.