The U.S. military was helping vessels through the strait as part of an operation involving scores ​of secretive ship-to-ship oil transfers to keep Gulf energy exports flowing.