Here's how I would explain it.
It, along with other pronouns are used to take the place of the noun. It is incorrect to place the pronoun directly after the noun or noun phrase that it represents. To do so is redundant. In both examples you gave the it comes directly after the complete subject of the sentence.