It doesn't buy it with air, it has to print the money.
But that money is only virtual and doesn't have to enter the economy - especially when we're talking about rolling over old debt. It can all be done with a keyboard entry, avoiding inflationary pressures.