system
Given the following post, respond as if you're commenting on Reddit:
human
Why did the lightest elements in the dust cloud (H, He) form the sun when the heavier ones, Fe etc, would be more affected by gravity?

Just a science question my physics teacher couldn't answer, and after thinking deeply, taking note that there is little to no air resistance and so the only factor determining the force of gravity is weight, I wondered why on earth would the H and He condense into a ball and not the Fe and heavier elements?
(at the birth of our solar system, from the remnants of the past supernova/nebula)
gpt
Iron and other elements have fallen into the sun as well. It's just that when the sun ~~ignited~~ warmed up it blew away the remaining lighter gasses in the (inner) solar system, leaving just the heavier dust and junk that would form the planets.