A federal judge in Oregon ruled Thursday that the Bush administration had arbitrarily limited and skewed its analysis of the harm that 14 federal dams cause to endangered Columbia and Snake River salmon and steelhead .