from https://support.apple.com/en-us/HT212520
> iWork collaboration, the Shared Albums feature in Photos, and sharing content with “anyone with the link,” don’t support Advanced Data Protection. This means the shared content is not end-to-end encrypted even when Advanced Data Protection is enabled.