The 2023 Israel–Hamas war is referred to in the Western media as "the Israel-Hamas war". All Western commentators I've seen, including military experts, journalists, and political leaders in both the US and the Israel, seem to take great care to single out Hamas as Israel's adversary in the war, and to draw a very clear distinction between "Hamas", the entity Israel is fighting, and "the people of Gaza" (often referred to as "civilians"). In a few places where I've seen commentators deviate from this terminology by expressing doubts about whether this distinction is accurate to make, or pointing out historical analogies with other wars in which the distinction was not made, they were often criticized.
The very name of the war shows the same clear pattern: "Hamas", not Gaza or its people, is clearly named there as Israel's enemy.
However, to play devil's advocate: Hamas is a political party and heavily armed organization that is the sole entity governing the entire territory of Gaza, with a population of over 2 million people. It collects taxes from the people under its control. It is the government of Gaza in the same sense and to the same extent that any government of a (non-democratic, at least) country or territory is seen as its government.
To drive home the point a bit of why what's going with the war's name seems strange to me (and I don't mean to come across as biased or having an agenda, I simply want it to be clear what is motivating my question):
No one thinks to refer to this war as "the 2023 Hamas-Likud War" or "the 2023 Gaza-Israel War" or "the 2023 Gaza-Likud War".
The Russo-Ukrainian War isn't referred to by anyone as the "Putin-Ukraine War" or the "Kremlin-Ukraine War" or the "All-Russia People's Front-Ukraine War" or the "Russia-Servant of the People War", or any other name that draws a distinction between the governments of either Russia or Ukraine and the "civilians" they "control".
If you say that in 1939-1945 the Allies fought against "Germany", you won't hear anyone jumping up to argue that they fought "the Nazis", not "Germany".
Etc - I am not aware of any other war between two groups of people where observers of the situation decided it was correct to draw this sort of distinction.
Are there any other major wars whose naming pattern follows the template "X-Y War" where one of X and Y is the name of a country or a territory, but the other one is the name of a political party which governs a territory?
Are there any other major wars where, regardless of the name of the war, people feel very strongly that a distinction must be drawn between the government of one of the parties to the war and the "civilians" being controlled by that government?
If the answers to 1 and 2 above are "No", why is this terminology used in this situation? What is so unique about the Israel-Hamas War that warrants drawing such a strong distinction between Gaza and Hamas, when this is not done in any other analogous context?