They're not. That's executive fiat. The actual name of the department changes if Congress says it does.