VMware NSX
This is an expected behavior, and only admin credentials must be used for logging in to NSX UI, while the CLI can be accessed with both root and admin credentials.
If the user password is expired and the accounts show disconnected in SDDC, refer to the below KB article:
Root user account is disconnected in SDDC Manager password management.