Phone basics
It feels like nagging, but your phone asks for a reason: the password proves it is really you before anything changes on your account — and even free updates count as store activity. It is annoying, and it is also protecting your money.
Make it painless with Face ID or fingerprint. On iPhone: Settings, Face ID and Passcode, and turn on iTunes and App Store — then you just glance at the phone instead of typing. If you have forgotten the Apple password itself: Settings, your name, Sign-In and Security, Change Password — you can reset it with just your phone's passcode. No phone handy? Go to iforgot.apple.com on any computer, or borrow a friend's iPhone and use the Apple Support app to choose Reset Password. One heads-up: Apple may ask you to wait a few days while they check it is really you — that is normal, and it protects your account. On Android it is your Google password, reset from any computer. If updates just spin forever, the two usual causes are no Wi-Fi connection or storage that is nearly full — updates need breathing room to install.