I was joking a bit about the cold, but I did wonder where the chemicals came from, whether it was a gas or solid planet.
At those temps, what we recognize as gases become solids.
And there's evidence there was a big one in our neighborhood in the early days of our solar system.
Violent Past: Young sun withstood a supernova blast
A big bully pummeled our sun in its infancy, fatefully altering the composition and evolution of the solar system, a new study suggests. The heavy, in this case, was a nearby, massive star. First, the massive star pounded the young sun with fierce winds. Then, the tyrant exploded, blasting the sun with shock waves that suffused it and its embryonic planets with iron...... and other elements as well.