Hours before the attack on the container ship, the U.S. military said it had shot down two missiles fired toward the same ship