I agree that most countries would view an attack on their consulates in foreign countries as an act of war. But all things said, Israel and Iran have been at war for a long time. Not a hot war involving traditional tanks, infantry, planes etc., but certainly a covert war involving targeted assassinations, arming proxies like Hezbollah/Hamas, Israeli attacks on the Iranian nuclear problem through STUXNET and more. This is a rare exception where the war has spilled over to Iran launching ballistic missles directly at Israel, and Israeli jets bombing military sites inside Iran, which is what the tweet was getting at. There is a belief that Israel and possibly the US may come into further military conflict with Iran, and direct airstrikes into Iran are being used to learn how Iranian air defenses may (or in this case may not) react to F-35s operating inside their airspace.