Canceled a transaction to buy dpet token but still 3 dpet token deducted from my balance

I canceled a transaction to buy a pet on my defi pet but still 3 dpet tokens were deducted from my balance. what happens?