Unless Apple apps like Pages, Keynote, etc. are set to automatically update, a 2-factor authenticated App Store sign-in is required each time they are updated.
Launch the App Store and go to App Store--> Preferences
Check the box for Automatic Updates. Updating will now occur in the background with no user intervention required.