Question: how does a government that runs a deficit raise the money necessary to pay its debts?
Answer: Every year in which the government runs a deficit, the money it borrows is added to the federal debt. If the government runs a surplus, it can use the extra money to pay down some of its debt. And each year, the government pays interest on the national debt as part of its overall spending.