Transfer to wallet taxable?

It seems a couple of my transactions transferring BTC from Kraken into my Trezor were taxed as a gain? What am I missing?

Did you modify the transaction to make it a “Transfer” instead of separate outbound and inbound transactions? Most portfolios will mess this up unless you do that.