When a password manager is in place, the password confirmation field on the user settings page (when changing email), might be filled automatically causing the password confirmation popup never to show up.
If a wrong password is stored, it will be impossible to change the email.
This issue is similar to the one already fixed in https://github.com/matomo-org/matomo/pull/18515