You aren’t actually buying a bitcoin, you were buying a representation of your assets in FIAT.
Coinbase gets to keep $100,000 of your fiat, and they owe you $50,000.
They keep the other $50,000 as a token of their thanks for playing at the idiot casino.
Oh and also because you realize your asset, it is taxed, so you only get $40,000 total.
Basically you just burned $60,000 dollars lol
