Not a Theory, just an observation. Nothing Scientific was done on my end.
However, I dout it's totally random. Because that would hint at the fact a world could be void of all ore,like you said, or void of stone... Frankly the changes of that just like Whovian Said, So highly unlikely it's not...