The United States and Iranian militaries have offered conflicting accounts over whether the crucial waterway is open.