If you buy $100 of bitcoin and spend on something that costs you $80 what happens? Is that a capital loss of $20? No
It all depends on the market price when the transaction takes place. If it’s immediate (marginal change) then you don’t have to worry about paying tax.
In my above example if sold $80 worth of bitcoin whether it’s a loss or gain would depend on the market price.