This only happens due to a weak USA thanks the Biden regime. In USA under a strong leader, Israel would be completely justified and welcome to clean out Hamas in Gaza and the sympathiser terrorist countries would be upset, but would back off any action fearing a strong USA response.
We were a strong country under Reagan, but he also urged constraint when Israel invaded Lebanon in 1982.