After you file


@ITM wrote:

Could it be because all previous years were mailed in?


It very well could be the reason.  A mailed 2021 tax return took the IRS months to process.  So if the return was not processed until late in 2022 or even in early 2023 the 2021 AGI would not be in the IRS database.