The federal deficit grew by 7.5 percent of GDP from 2001 to 2023 because of increased spending and lower revenues