Google operates in many countries and is subject to many laws. Even in the US websites need to check whether you're over 18 to view (or read?) pornography, and Google Docs does not appear to have an age check at 18. Do you think this is an important feature that Docs should be working on? I'm not sure I do personally.
I am not aware of any laws in the US about selling books that are only text (no pictures) to minors.
The only "banned books" lists apply to school libraries/librarians.
I cannot possibly see what the justification would be for such a law. It's just words. It is no different than saying 'fuck' in front of a minor. It is clearly protected speech.
Not sure where you're getting your information from: Google platformed hardcore porn up until 2015 [0]. Tumblr permitted it through 2018 [1], while Reddit and Twitter allow it today.
- "Until today, Google's Blogger platform previously allowed "images or videos that contain nudity or sexual activity," and stated that "Censoring this content is contrary to a service that bases itself on freedom of expression."
They usually have them in order to not spook the advertisers who don't want to see their ad near anything remotely objectionable. Don't see why they care about somebody sharing a document from their Drive.