Transaction Fee as Cost

For my BSC Wallet, I noticed transaction fees are categorized as cost and end up as capital gains. Is this expected? See below screenshots of the Cost and Associated Transaction (I believe I was claiming rewards from a PancakeBunny pool). The BNB transaction fee was logged as a Cost transaction with gain of $0.02. Thanks in advance for clarification.

I have tried to explain what I understand regarding this in this post. Hope it helps.