Usually if the loss happens in the same year, you can use them to lower your tax on gains. In your NFT example you'd first owe 7.5k (assuming 25% taxation), and with the 30k loss you'll be able to balance what you owe. The problem starts if you sell the NFTs in the next year, because then you can't use those losses to balance the already made gains, but only use it for future gains.

Yes this is my understanding.