Trying to run a childcare system using market prices runs into three main problems.
The wages for childcare providers wind up very low.
The costs for parents wind up very high.
Paying the costs out of pocket requires families to undergo major drops in their standard of living when they have a child and creates asymmetries between identical families with different numbers of children.
For a government, solving these problems is pretty simple.