It’s called monetizing the debt.
Only the Fed can “create money”, not the gvt. So the fed creates money (out of thin air), and buys the fed’s bonds.
End result? The gvt has real dollars (for whatever they’re worth) and the Fed has equivalent gvt debt (for whatever that’s worth).
Only the Fed can create money, not the gvt.
What did the government do before the FED?