That's how society gets rid of future kids (AKA "solving problem of overpopulation").
The more dangerous it is to deal with kids (because of potential legal consequences), the less people want to deal with kids.
End result: childcare (formal and informal) is getting more expensive, potential parents have less children or don't have children at all.