Is there any logical way to determine whether $\ce{I-}$ will oxidize to form $\ce{I2}$ or $\ce{IO3-}$ is a reaction ?
For example,
In reaction of $\ce{KMnO4}$ with $\ce{I-}$ in acidic medium $\ce{I2}$ will be formed,
whereas in the reaction of $\ce{KMnO4}$ with $\ce{I-}$ in alkaline medium $\ce{IO3-}$ would be formed.
$\ce{HNO3}$ will oxidize $\ce{I2}$ to $\ce{IO3-}$.
Is it related to the oxidation power or the reaction conditions and medium or things out of my scope ? PS. I'm currently a high school student.