But anyways, apparently it can be disabled according to Apple's offical support page.
https://support.apple.com/en-sg/HT204030#:~:text=If%20you%20can't%20see,%22iTunes%20%26%20App%20Store%22.
If you don't want to enter a password when you download free items, follow the steps below and turn off password protection for free items.
1. Open the Settings app.
2. Tap your name.
3. Tap Media & Purchases.
4. Tap Password Settings, then choose the setting you want.
Tap Password Settings, then choose the setting you want.
If you can't see Password Settings, you've turned on Face ID or Touch ID for App Store and iTunes Purchases. To change this, go back to Settings, tap "Face ID & Passcode" or "Touch ID & Passcode", then turn off Face ID or Touch ID next to "iTunes & App Store".
This option is greyed out on my device though.