Umm, yes. Breastfeeding doesn't come to new mothers naturally. It's a learned skill. And many new mothers have never been taught. When my wife was shown by a lactation consultant at the hospital, they were so busy they only were able to stay for 10m. And this was with a mother and baby having issues.
Easily accessible videos properly demonstrating techniques with a real baby would have been extremely helpful, but at the time exposed breasts for the purposes of breastfeeding weren't allowed on YT at all, let alone monetized. This has been huge effort by feminist groups for a reason.
It's more for the advertisers Google hosts on YouTube than any values Google is trying to project on their users, I bet. Advertisers don't want their products advertised next to explicit content.
Google search is a little different in that the content is fairly separated from ads, unlike YouTube where they're inescapable.