Why is that a stupid rule?
If I sell Nvidia stock to buy AMD stock, I need to pay tax on my Nvidia stock gains.