When you withdraw money, the bank reduces your account balance. In banking terminology, reducing a customer's account is done by debiting it. From the bank's perspective, the customer's account is a liability (money the bank owes), and debiting a liability reduces it. Credit would increase the balance. This is the opposite of how customers record transactions in their own books.