You didn’t necessarily turn it on, but it would have been part of an overall compliance with some rules regarding minors, which means you likely registered as having age restriction on the account. It could have been based on the date you used when creating the Battle.net account.
Edit: It looks like it could be in place if you never had a date entered too:
No, that was definitely a coincidence that they happened around the same time.