U.S. Navy officials say a U.S. ship encountered three small Iranian speed boats Thursday in the Persian Gulf .