If this was October 2023, sure. I'd agree with you. The problem is that, as the war has continued, Israel has engaged in a number of actions that, depending on how you spin it, are either catastrophic fuck-ups or deliberate attempts to starve out Gaza, including
bombing a humanitarian aid convoy.
Furthermore, there's no way in hell Netanyahu gets his endgame (wiping Hamas off the face of the planet) without either exterminating all Palestinians in Gaza (which absolutely is a war crime, orders or no) or significantly backing down on several of the things Israel does to Palestine to make it mad. He also has no reason to simply snipe some of the higher-ups, patch up the holes in the Iron Dome, and declare victory. Netanyahu needs the war to continue so he can continue delaying his corruption trial long enough to declare himself above the law with a judicial reform.
To be clear, yes, Israel is more western and more liberal than Palestine, but that gap is closing faster than I think anyone would like to admit.
>In addition, why doesn't the ICC look into Egypt's conduct of refusing to allow civilians to flee from this conflict?
Because countries do not recognize migration as a human right. If the ICC did this and was consistent about it, they'd have to challenge basically every restrictive immigration policy ever. I'd personally love that, but given how many countries in the EU are making handbrake turns to the right wing specifically so they never have to take in another refugee ever again[2], the EU would rather just invade the Hague like Bush threatened to.
Furthermore, (one of) the reason(s) why the 'three state solution'[3] never really panned out is because Egypt and Jordan don't want to become hosts for further revaunchism. Hamas will set up shop in their new home and Israel will just invade them - like they did in the Yom Kippur War. For similar reasons Israel has never wanted to entertain the 'one state solution'[1] that would also have solved this conflict decades ago, because they (mostly correctly) think Hamas will never be satisfied until Palestine extends from the border to the sea and all the Jews have been deported.
[1] Just abolish the Palestine/Israel border and let people live and work wherever
[2] Which, to be clear, is also a travesty.
[3] Move Palestinians to Egypt and Jordan and let Israel take over the rest of the land