Deductions & credits

Why would it be added on lines of the  "Subtractions from Federal Taxable Income section" if your answer previous to this says to go to the state tax return section. I'm confused.