Israel has been as much “at war” as they are now for the past forty years, because it’s never been a war in any meaningful sense of the word; it’s been a colonization whereby Israel has been violently oppressing Palestine and the Gaza strip and having to deal with groups that violently resist that colonization because they’ve been given literally no other path towards influence iver their own homeland.
Gaza is not a country, it’s an open air prison controlled entirely by Israel. You can’t cut off water, food and electricity to a region and then claim it’s some kind of independent nation whos condition is not your responsibility.
Israel’s war is about as meaningful a use of the word as the war on “terror”. It’s propaganda to make it seem like Israel hasn’t themselves been willfully seeding these conditions for decades.