Which theory is stronger, that iron came from outside or was formed within earth?
The only elements that were formed on Earth are those produced by radioactive decay. There are four natural decay chains that start with transuranic elements and none terminate in iron; neither do the decay chains that are artificial or those that result from cosmic radiation. So all of our iron is from the Earth's formation or meteor impacts since then.