There are a few completely separate issues here. GPs comment is talking about the internal-to-Israel, state-level trials against Netanyahu. These have been ongoing, started several years before the Gaza war, and are being adjudicated in Israeli courts right now. These actually have the power to force Netanyahu out of office or actually make changes to how he behaves - because they are internal to Israel, and if the court decides something, presumably the police and military will follow the courts. (Unless there's an actual coup and Israel stops being a democracy - which I don't think is even remotely likely, btw.)
There is no ongoing trial within Israel against Netanyahu related to the conduct of the war. In general, Israelis view the current war as being fought legally.
Regarding what you call "genocide" or other accusations of war crimes or illegal conduct in war - that's something that gets adjudicated by international courts like the ICC and ICJ. The ICJ has a case open against Israel, claiming it is committing genocide, and the ICC has a warrant out against Netanyahu for war crimes. Those are completely unrelated matters. They also have less immediate impact - because there is no real way to force Netanyahu to comply with those warrants.