What role does material opacity play in accelerating internal heat buildup?

Answer

Once opaque, trapped heat causes internal temperature and pressure to skyrocket rapidly

When the density increases such that the material becomes opaque, the heat generated by continuous gravitational squeezing can no longer escape easily. This trapping mechanism causes the internal temperature and pressure to increase sharply.

What role does material opacity play in accelerating internal heat buildup?
protostarstellar evolutionstar formationastrophysicscollapse