What calculations are behind Tehran's major missile strike on Israel?

What calculations are behind Tehran's major missile strike on Israel?