It's not clear to me that it's the bank's fault. The court must've done some kind of discovery to send the bank a garnish order. So was the bank lazy and just took money from a similar named account without checking the details?
Or did the court identify the wrong defendant and issue a garnish order for the wrong person?