There were 2 million German citizens who were killed in Nazi Germany in World War 2
This fact does not make the war with the Nazis unjust
There are many conflicts between the IDF and the Palestinian Jihad (West Bank) and Hamas (Gaza) terrorist groups
Some operational decisions to neutralize terrorists come at the cost of civilian lives
Unlike the terrorists, ranging from
car-jamming terrorists in Jerusalem to the planned attack on October 7th, Israel does not deliberately attack innocent civilians
The terrorists are solely responsible for the loss of civilian lives when they intentionally hide among them, unwilling to confront the IDF directly.
They are also politically responsible for the Palestinians through elections - since they are chosen to allocate resources of the citizens in a way that benefits them.