Iran and its allies have hit back against Israel, neighboring Gulf states and targets critical to the world’s oil and natural gas production.