How is energy converted into heat during the gravitational collapse of a dense clump?

Answer

Potential energy into kinetic energy, then into thermal energy

As material falls inward, gravitational potential energy is first converted into kinetic energy (motion), and the subsequent high-speed collisions of these particles translate that kinetic energy into thermal energy (heat).

How is energy converted into heat during the gravitational collapse of a dense clump?
star formationastrophysicsprotostarsstellar physicsheat generation