Coinbase is an exchange, you're exchanging with other Coinbase users. Wallets only come into play if you're moving crypto in or out of Coinbase. That's a good thing, wallet transfers can be slow and would really make trading a pain.
I heard somewhere that they keep some of each digital currency on hand to help with price stabilization between when you buy and when transfer is done.
So like, you buy not from someone selling, but from Coinbase's stash, who then buys to refill from someone else.
No idea how accurate that is though, maybe someone can back me up or correct me here