Saudi Arabia attacked the Houthis in Yemen years ago, claiming that the Houthis are nothing more than Iranian puppets. For the past few years they have been brutally bombing Houthi forces and the Yemenis unfortunate enough to be living in Houthi-controlled areas. So now someone bombed them back. Whether it turned out to be the Houthis or the Iranians (if the Houthis are just an extension of Iran, it shouldn't make any difference), isn't this what they should expect when they bomb the fuck out of their neighbor? If anything the Saudis have been extremely lucky they have been picking on a group so much weaker than them it lacks much capacity to strike back.
Everyone wants war without consequences. "We get to kill your people whenever we want, but if you kill us back that is an outrageous act of terrorism and aggression!" seems to be the prevailing attitude.