Of course deposits are liabilities, it makes no difference whether a bank borrows money from other banks, the bond market or depositors - these are all liabilities.