Don't forget: this was leaked. Apple may never have told us. They could have released some of the features without letting on about the scanning.
Today was Apple's first press release about it.
Apple certainly didn't want it to be revealed like this, and they might have kept the pieces not related to child privacy hush hush.