As someone who has been hit with fraud on a debit card and a credit card, the process to recover money from fraud on a credit card is so much easier and more hassle-free than a debit card.
The big difference is that with a debit card, it's your money that is hit by fraud. The debit card is basically just a proxy. You have to go file a police report. You have to hope the bank will give you the money back.
When the credit card gets hit, it's the credit card company's money and they will seemingly chase the fraud to the ends of the earth to recover it.
This depends heavily on the country you’re in. In the UK banks are required to refund you within a single business day if they don’t have any evidence that the customer isn’t trying to defraud the bank themselves.
They try to squirm out of that of course. But in general getting your money back isn’t too tricky even with a debit card.