Israel did have whatever intelligence that it could gather and made a lot effort there – https://www.newsweek.com/israel-implemented-more-measures-pr..., and Hamas is to blame for the civilian deaths. Hamas also openly says that – “And we are proud to sacrifice martyrs.” https://www.algemeiner.com/2023/12/08/hamas-says-it-is-proud...