Israel however does not wish to kill all Palestinians. It is not trying to kill all Palestinians in Gaza. It is not killing all Palestinian Arabs who are Israeli citizens. It is not trying to kill all Palestinians in the "West Bank" or in areas controlled by the Palestinian Authority.
Killing people in a war is not genocide. The people in Gaza are provably not targeted (as a group) because they are Palestinians. The attacks on Gaza are directly related to the war that started by Hamas' attack (or we can even say attacks including previous attacks since they took power in Gaza). Each bomb that drops in Gaza has a military objective.
You can prove this pretty easily with a thought experiment, just have Hamas (and the other Jihadi organizations in Gaza) surrender, lay down their arms, and we'll see if any more Gaza civilians are killed.