The US military says it was responding to a second attack on the same vessel near Yemen in 24 hours.