Iron in differing oxidation states can give solutions color, iron oxidizes to ferric (iron ions missing 3 electrons) Fe+3, and ferrous (iron ions missing 2 electrons) as you raise pH you can change the oxidation state of the iron ions or compounds ...
https://en.wikipedia.org/wiki/Iron(III)https://en.wikipedia.org/wiki/Iron(III)_chloridehttps://en.wikipedia.org/wiki/Iron(III)_sulfate
https://en.wikipedia.org/wiki/Ferroushttps://en.wikipedia.org/wiki/Iron(II)_chloridehttps://en.wikipedia.org/wiki/Iron(II)_sulfate
Depending on the acids used we can have different salts of iron ions such as chlorides or sulfates or so on, oxidized iron ions which are combined with the reduced ions of the acids we used to from these iron salts, the pH can change the different oxidation states of iron, such as chlorides, or sulfates or from the more acidic Fe III ions to the less acidic Fe II ions.
https://en.wikipedia.org/wiki/Iron(III)https://en.wikipedia.org/wiki/Iron(III)_chloridehttps://en.wikipedia.org/wiki/Iron(III)_sulfate
https://en.wikipedia.org/wiki/Ferroushttps://en.wikipedia.org/wiki/Iron(II)_chloridehttps://en.wikipedia.org/wiki/Iron(II)_sulfate
Depending on the acids used we can have different salts of iron ions such as chlorides or sulfates or so on, oxidized iron ions which are combined with the reduced ions of the acids we used to from these iron salts, the pH can change the different oxidation states of iron, such as chlorides, or sulfates or from the more acidic Fe III ions to the less acidic Fe II ions.