Because the provider does not know the account ID. The provider needs access credentials, not an account ID.
In AWS, only console logins mention an account. All other logins mention things like access keys, session keys, source profiles, role ARNs, or other things.
And the AWS provider never logs in via the console. So it never needs an account ID.