When the cash is deposited to the bank account, two things also change, on the bank side: the bank records an increase in its cash account (debit) and records an increase in its liability to the customer by recording a credit in the customer's account (which is not cash).