AP Invoice aging doesn't agree with GL

When I run report 4-1-3-21 as of June 30, 2023 the balances do not agree with my ap gl acct.   When I run the report as of today it does.  What would cause the "as of" report to be off?