I factory reset my iPhone and set it up from new which caused the notification 'Update Apple ID settings' to appear on both my iPhone and my Mac. After asking for my apple ID password it then asked for my iPhone passcode on my phone and my Mac password on my Mac. I have reset my phone a few times in the last few months due to various issues and have never been asked for these local passwords before.
The exact message on my Mac read 'the password you use to unlock this mac will also be used to access saved passwords and other sensitive data you store in iCloud'. The message was coming from the settings app.
Why is this happening? Is there any reason why Apple needs these passwords?
I have read things about this being something to do with iCloud Keychain but I have never had keychain on. Just want to know if this is something that is supposed to happen as it seems a bit odd to me.