Iran on Saturday night launched a large wave of attack drones from its territory toward the Jewish state, in the first-ever direct attack on Israel by the Islamic Republic, with warning sirens activated in Israeli communities throughout the country early Sunday as the military worked to intercept the Iranian aircraft.
Footage of the Iranian attack over Jerusalem's Temple Mount/Haram al-Sharif
Netanyahu wants conflict with Iran, it distracts from both the genocide he's perpetrating and the spectacular intelligence failure of his administration that allowed the initial Hamas attack in the first place. This is why Netanyahu attacked Iranian military assets first. He deliberately provoked this.
A consulate is not a military installation by design. It is a diplomatic building, and considered sovereign ground of the represented nation state. Israel quite literally attacked Iran's territory first.
It should also be noted that while it's widely known Israel carried out the attack, they have not confirmed or denied it.