NATO doesn't have a dog in this fight. Israel isn't a member nor is it taking actions against a NATO member.
In any event, upon the creation of Israel as a State by the UN, Egypt, Syria and Jordan invaded that newly created State. Israel has, historically, generally kept to itself UNLESS it was attacked. Israel's attack on Osirak (Iraq) in 1981 basically halted (for quite a while) Iraq's ability to develop nuclear weapons. That attack actually helped Iran and Syria (and themselves) as it removed the relatively immediate threat of nuclear attack on Iran and/or Israel. That attack was done at the beginning of the Iran/Iraq war.
Iran and its proxies do not want Israel to exist. Israel knows this. Israel's beef is with Iran and its proxies, not Muslim Arabs generally. If that were the case, they wouldn't have been working toward normalizing relations with Egypt and other largely Muslim Arab nations in the area. Notice that all the attacks on Israel have been coming from Hamas, Yemeni Houthi, and Hezbollah controlled areas - all Iranian proxies, not other Muslim Arab controlled areas and of those, Israel is only taking action against Hamas controlled areas.
Hamas is running this as a multi-pronged campaign... they're losing the ground campaign but they're also waging a political one.
Their behavior is exactly like a kid kicking a bigger kid, getting walloped for it, and then going off and crying to Mama because bigger kid walloped me... and they're hoping that the rest of the world ignores the fact that they actually instigated all of this in the first place.