Israel 's Supreme Court has ruled that Palestinian residents of the West Bank and Gaza can sue Israel for damages caused by the Israeli military in non-combat operations .