> once their government surrenders
That's ok then, as the government of Gaza was created by Israel's own accord - so at least in 2005, we can both agree that there could have been no state of war between occupied Gaza and Israel. Then, in 2006 the Israeli backed government held free elections, in which the people of Gaza voted for Hamas. The immediate result, before Hamas had even formed a government (but after someone kidnapped 1 Israeli soldier), was intense hostility from Israel, bombing civilian infrastructure (a war crime, if indeed there is a war), arresting elected Hamas officials, denying Hamas members transit between Gaza and the West Bank, and other acts.
So, if you really want to claim there is an actual war, then this war can only be the one started in 2006 by Israel in a surprise attack in retaliation for the democratic vote of the people of Gaza. The war started then with a surprise attack and immediately resorting to war crimes by Israel (Gaza would follow suit with their own attack on Israeli civilians).