We know that Hamas used Iranian rockets to strike Tel Aviv and that Iran is supplying arms to Islamic militants. Given that life is a low valued commodity in the Middle East, I believe that Iran is paying Hamas to strike Israel in order to give Iran more time to develop its nuclear capability, or, at least, to further delay any Israeli assault on the Iranian nuclear program. Whatever Israel has to use to defend itself will temporarily deplete some of its defensive munitions and may forestall any near term action against Iran.
It would also not be surprising that arms dealers are fueling the fires as they will gain massive profits from this conflict. Further, if a full blown war erupts, there will be a lot less attention on the global economic crisis, climate change and things like regulatory reforms. Yes, this is a conspiracy theory, but analyze the facts and decode for yourself.