Basically, back when the Baby Boomers were young it was a major source of shame to have sex outside of marriage for a lot of people, so they got married early and then discovered that it wasn't a good match. Lucky for them the divorce option was available at least.
These days kids are much more free to experiment before they tie the knot and aren't forced into bad marriages as much. General availability of contraception also helps I suspect.
The downside is that when they do have kids outside of marriage it's a worse situation as the families are less stable without the institution holding them together.
So the ideal situation seems to be for kids to have lots of sexual partners using effective contraception before they settle down and get married to the partner they are most compatible with and then have kids. A policy that seems sensible from one angle, but sinful as hell from another.