This is how I see it. Treasury makes new treasuries, and the Federal reserve buys them (through a bank, but it is a middle man only). Essentially, Federal reserve created money and loaned it to the government, holding the treasuries as IOU. This is further complicated as the Federal reserve is also mandated to give all profits to the treasury. So, essentially, the treasury did not create the money, only got a loan, but its loan payments are going to come back to itself.
I personally find it easier to dispel with the illusion of an independent fed, and just say the government (which includes both fed and treasury) prints money.