The US military says two Iranian one-way attack drones threatened international maritime traffic in the Strait of Hormuz.