The US military said it intercepted Iranian attacks on three Navy ships and “targeted Iranian military facilities responsible for attacking US forces.”