You just submitted credentials to a fake Xbox login page. In a real attack the attacker now owns everything you typed. Here is exactly what this page captured:
Red flags this page deliberately included for you to spot:
Defense: verify the domain, use a password manager (it won't autofill on look-alike domains), and enable phishing-resistant 2FA (authenticator app / security keys).