My impression is that leaders of both militaries have a goal to remove the civilians of the other side from the borders of Israel, permanently.
When you consider Netanyahu, for years, propped up and funded Hamas, it makes everything more confusing to understand https://www.timesofisrael.com/for-years-netanyahu-propped-up...
> Hamas was also included in discussions about increasing the number of work permits Israel granted to Gazan laborers, which kept money flowing into Gaza, meaning food for families and the ability to purchase basic products.
>
> Israeli officials said these permits, which allow Gazan laborers to earn higher salaries than they would in the enclave, were a powerful tool to help preserve calm.
It sounds like an effort to make Hamas and Gaza peaceful neighbors and normalize the situation. Didn’t work out.