Inorganic chemistry

Why can many transition elements form ions or compounds with more than one oxidation state?