If you log into any Microsoft product (Office, Teams, Skype OneDrive, etc), Windows forces you to log into everything else.
This is especially infuriating with Office, as they make it extremely difficult to get a standalone product, they very aggressively push Office 364, so you are forced to log into Office to even use it.