What is the primary source of energy that causes a protostar to glow before sustained hydrogen fusion begins?

Answer

The inward pull of its own self-gravity

The initial energy output of a protostar comes from gravitational heating. As the object contracts, gravitational potential energy is converted into thermal energy, a process often described by the Kelvin-Helmholtz mechanism.

What is the primary source of energy that causes a protostar to glow before sustained hydrogen fusion begins?
starsgravityprotostarformationstar formationastrophysicsenergy generation