The xbox account is an inseparable part of the microsoft account.The game quitters guide / page on deleting xbox account needs to be more clear on this.
deleting your microsoft account means deleting all services attached to it...such as e-mail, office, onedrive, ec . not just xbox/gaming services.