why did the solar nebula heat up as it collapsed?

0
149

why did the solar nebula heat up as it collapsed?