It has to be the _correct_ rock, but chucking random things into a fire is an activity that all humans like to do. Its only a matter of time before some human chucks the right rock into a wood fire to discover Tin and begins the Bronze Age.
Iron however, is far more difficult to process. One theory is that early Iron-age was helped by meteors, as pure-iron rocks from the sky would be objects of worship to any human. After experimentation with the space-metal, they'd discover the incredible properties of iron.
With the "Seed of knowledge" planted in the human's brains from space rocks, humans would build hotter fires that can better process the space-rock / space-iron (maybe not reaching 3000F, the melting point, but maybe 2500F for hot enough to make it malleable / hammerable).
Once this discovery is made, its only a matter of time before people chuck _other_ rocks into the 2500F fire and start hammering to look for the common iron that's all around us. So the process is instead to heat the iron as hot as possible with your current technology (again: maybe 2500F) Then, you smack the hot rock with a hammer until you squeeze all the impurities out (while shoving it back into the fire to keep it at 2500F+ as much as possible through this process).
Once the impurities are gone, you're left with pure iron, equivalent to the space rock.
---------
This iron-age process (even for the simplest of ores) is far more difficult to "discover" than "chuck the correct rock into a fire".
You really can start mass producing iron when you can melt the darn thing, which requires a blast furnace. But "Iron Age" smiths were largely with simpler forges / fires and with the "hammer method" IIRC.
For Mediterranean, it's mainly because the whole region, Iraq, and Northwest India/Pakistan were already integrated together as a trading unit, with factors coming hp from Sumer and Assyria to trade with Dilmun, Indus Valley, and Anatolia. Then the Phoenicians traded tin from Iberia and all the way from Britain as well.
Funnily enough, Egypt only adopted bronze (and chariot) at least for their armies after the whole Hyksos invasion stuffs. That might be the basis for Exodus.
- Stanley B. Alpern
Wikipedia summarizes: We don't know for sure.