Here's why:
* Iodine (I) is a halogen. Halogens typically have an oxidation number of -1 when they form ionic compounds.
* Iodide ion (I⁻) has gained one electron. This gain of an electron gives it a negative charge and an oxidation number of -1.
Let me know if you'd like to know more about oxidation numbers!