Apple is allowed to share data among its apps. Third-party app developers are allowed to share data within their apps. If third-party developers want to share data with _other_ third-party developers (aka the advertising ID), then they need the explicitly request permission. It is fairly straightforward.