The Fed can, and frequently does, add and subtract liquidity from the monetary system by expanding their balance sheet, i.e. buying a financial asset (usually but not always a Treasury security) and paying for it with a credit to the sellers bank account.