I don’t understand it that well myself but if I’m not mistaken the money is created when the Fed whips it out of thin air to buy the treasuries.
The Fed no longer measures M3 – probably because they ran out of room – but it seems like it should show up in M1 when that money is paid out to “stimulate” the economy.