The incidents unfolded as US forces launched “Project Freedom,” a military-backed effort aimed at restoring commercial shipping through the Strait of Hormuz.