An American defense official said that the Navy’s initial investigation found the vessel came from Iran.