Credit cards can cost more for merchants to process, sometimes they pass this cost onto the consumer with a credit card surcharge.
It's also easier to track your spending on a debit card as you can check the remaining balance at any ATM rather than waiting for the bill or going online.