Yes its simple. Terrorist nutcases Hamas launched a murderous pogrom on October 7th against Israel, breeching Israel's border to commit mass murder. Israel has responded to the racist slaughter as any nation would, Israel is securing its border and safety.
Israel's military actions are to ensure that the program cannot be repeated. Israel is removing Hamas military capability, and ability to rearm itself by destroying its bases, army battalions and hundreds of miles of tunnels and complexes being used for arms storage, missile launching and holding of hostages.
Some equally extreme ... There are no equally extreme groups, or any alternative political groups in Gaza. Hamas have exterminated their opponents.