This is why getting adequate food and water into Gaza is essential. Yes, it's easier to fight Hamas when Hamas is starving than when they're not. But there was never any way to starve Hamas without starving all the non-Hamas Palestinians first.
If Israel doesn't manage to keep Palestinians alive, and very many of them die, then the charge of genocide is legitimate: nobody had any serious reason to doubt that a massive blockade of necessities for life would result in anything but a massive loss of life sooner or later, and it has been Israeli policy since the beginning of the war.
The military offensive against Hamas is clearly not genocidal. There may be some war crimes or crimes against humanity, but there's no point in even having a separate word for genocide if the military offensive counts.
The military offensive against Tigray was an incipient genocide which, fortunately, was not taken through to that conclusion.