I am surprised at how an employee can access other people's money so easily. In my country, an employee can only make transfers or withdrawals if the customer enters their password or performs a biometric validation. If by chance the customer needs to withdraw money without the password, only the bank manager can reset the password or authorize a withdrawal without the customer's validation.
Anyway... regardless of how this happened, the reason for it happening is easy: Gambling addiction.
People steal other people's objects, rob their own family, sell cars and houses to have money to gamble, so why wouldn't someone with "easy access" to other people's money do the same to support their addiction!?
Surely the elderly were reimbursed by the bank, and this employee should be duly punished, but he probably doesn't have the money to pay compensation or a fine.