gravitational potential energy is converted into kinetic energy which

Accretion: gravitational potential
energy is converted into
kinetic energy which is
converted to thermal energy
Differentiation:
light material rise to surface,
dense material sinks to the core,
convserting gravitational potential
energy into thermal energy
Radioactive Decay: Mass converted
into thermal energy