Many states have constitutional requirements that their budgets be in balance (or in surplus) in any given year, but this is not true for the U.S. federal government.
Why might it make sense to allow for the federal government to have deficits in some years and surpluses in others?