It's the second of June and you have $100 in your pocket.
Case 1: You hand me $100, I hand you a widget. I put that $100 in the bank, and over the course of the month go to the ATM five times, take out $20 bucks each time, and spend it. The money supply in Palo Alto is the same all June long.
Case 2: You use your credit card to give me $100; I hand you a widget. You still have $100 in your pocket while I have $100 in my bank account I can go spend. For the month of June the money supply is $100 larger. At the end of the month you pay off your bill and the money supply shrinks back to its prior level.
Macroeconomists and central banks use various definitions of "the amount of money" (with names like M0, M1 etc) to measure different things, just as there are different measures of unemployment, inflation etc, all designed to adjust / smooth / emphasize different phenomena. Like different filters in a circuit: https://en.wikipedia.org/wiki/Money_supply
This is why I am always infuriated by politicians who use microeconomic analogies when discussing macroeconomic things like government debt and trade policy. I just assume they aren't as ignorant as they sound, which may be foolishness on my part.