The war spared Netanyahu from an inquiry into his failure to prevent the Hamas attack in October 2023, and it stalled his corruption trial.