I am puzzled as to just why Iran at this point in time decided to ramp things up with Israel, so far with seemingly unpleasant results for it as Iran gets the short end of the stick for its initiation of this round of hostilities. Did they dislike Netanyahu's speech praising Trump's US pullout from the Iranian deal or something?
Israel has been bombing Iranian targets in Syria for a while, Iran had warned they would react the next time.
For example, see this article posted the day before the Iranian attack:
http://time.com/5270362/israel-attacked-syria-trump-iran-deal/It seems that Israel struck a new Iranian target on May 8th, to which Iran retaliated with rockets, and Israel retaliated to the retaliation.