Apparently the guy who "masterminded" the Oct 7th attacks was not the leader of Hamas, and Israel never targeted him.
Hamas names Yahya Sinwar, mastermind of the Oct. 7 attacks, as its new leader in show of defiance
https://www.yahoo.com/news/hamas-says-chosen-yahya-sinwar-181030234.html