Once massive stars reach the red giant phase, the core temperature continues to increase as carbon atoms are formed from the fusion of helium atoms. Gravity continues to pull together the carbon atoms in the core until the temperature reaches 600,000,000 degrees Celsius. I Hope this helped you!