When you pay using a debit card, the bank takes the money that is in your bank account, and makes the payment. It uses only money you have.
When you pay using a credit card, the bank makes the payment, and asks you the money afterwards. It uses money you don’t have.