The group said the attack was revenge for Israel 's killing of one of its commanders in the West Bank .