Changing from Bitcoin to stablecoin is considered a sale. It’s like if you sell Walmart stock to buy Costco stock you have to pay taxes on that.
Discussion
Even you invest it immediately?
Yeah, timing doesn’t matter.
There is a possible exception for certain kinds of real estate if you do it in a certain way, but for everything else any sale, exchange, or transfer is considered a sale unless it’s to a legally registered charity as a donation with a donation receipt.