It is all on Hamas who could have ended this at anytime in the last year and half by laying down their arms and releasing all the hostages. Since that won’t, Israel has no choice but to continue.
This mess would not have happened if Hamas did not purposely and intentionally invite Israel into Gaza on Oct 7, 2023