Convenience. Do you travel with a laptop and open it to scan your boarding pass pdf also?
I feel like everyone I’m responding to just hates Apple/Google and is running GrapheneOS without play services so they hate public apps.
Both iOS and Android have APIs for this, you (as the app developer) just mark the relevant fields in the app as login/password/etc, and the OS will interact with your chosen password manager to autofill and/or save them.