There is no method provided to move a Microsoft Office licence or subscription from one Microsoft account to another account, you cannot do that yourself, the only option would be to try to contact Microsoft Support directly, provide them with proof of purchase and ask them if it is possible to move that licence for you to the other account, try using this method to contact their support.
Go to this link: https://support.microsoft.com/contactus
Select Microsoft 365
Click 'Get Home Support'.
In the box provided, type billing.
Press Enter, then on the next page, scroll down and click 'Sign in to Contact Support'.
Navigate to Microsoft 365 and Office - Manage my Subscription.
Select the 'Chat with support agent in web browser' option