That's a myth. I had my debit card cloned and some money stolen. The bank gave my money back. Debit cards are protected too.
Between the time [some money stolen] and [bank gave my money back] your checking account balance was lowered by the amount stolen.
With a credit card, your checking account isn't directly affected.
Both are protected, the difference is your effective checking account balance in the time window between the time the money is stolen and the money is recovered.