A credit card is a short term loan. When you use debit, your funds are immediately transferred from your account. The bank has less liability if your debit card gets stolen.
When a credit card gets stolen, you’re spending the bank’s money (until you pay them back of course) which makes the bank responsible for remedying the situation.
In the other case, people who habitually go into credit card debt pay interest and make a profit for the bank, so it really depends on what kind of customer you are.
I have never once gone into credit card debt, and I frequently get junk mail telling me to use my debit card (by way of giving me some rewards plan), whereas a less than responsible friend of mine who has never paid anything on time in his life gets “pre-approved” credit cards in the mail on a daily basis.