Iran’s expanding attacks on Gulf states and the collapse of shipping through the Strait of Hormuz are raising the stakes for global energy markets and regional security.