apple is asking for a passcode?
It's possible your iPhone keeps asking for your Apple ID password because it's running an outdated version of iOS. Go to Settings -> General -> Software Update and check to see if an iOS update is available. Tap Download and Install if an iOS update is available on your iPhone!