The armed boats tried to drive the British tanker into territorial waters but were driven away by a British warship, a U.S. defense official said.