Which part of the California law announces your browsing history to the world?
Anyway, the whole point of the metaphor, because I feel like I will have to explain it, is that we don't put these onerous "required labeling" rules in place for private individuals going about their own lives. So just like you don't have to tell anyone who asks what you put in your dinner last night, private individuals should not have to tell anyone who asks (websites, apps) what age demographic they fall into.
Note: this is one of many arguments I endorse against this type of law. This shouldn't be interpreted as "so that's all you're worried about?" just because we dissected it in detail here.