Recent attacks by the U.S. and Iran have shattered a month of relative calm, with both hitting military, shipping and energy assets.