The US military said the strikes followed “recent attempted attacks by the IRGC against commercial shipping in the Strait of Hormuz and against American service members deployed to the region.”