@Gerald Ho
As per our discussion on phone, you have 2 different on-premises domain.
Adomain.local and Bdomain.local.
You have similar user accounts created in both on-premises tenant.
Users are syncing from both on-premises domains to single Azure AD tenant.
userA@adomain.local is syncing as ******@adomain.com in Azure AD.
And userA@bdomain.local is syncing as ******@bdomain.com in Azure AD.
You have self-service password reset enabled in the tenant and also password writeback is enabled.
Your requirement is when ******@bdomain.com changes the password in Azure AD, you wanted the new password should be written back to Adomain.local account.
This will not happen, as password will be written back to same corresponding account in on-premises. Password change on one account and same password getting written back to different account in on-premises is a security issue.
Let me know if you have any further questions.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.