Post-main sequence As stars of at least NUMBER@1 solar masses exhaust their supply of hydrogen at their core , their outer layers expand greatly and cool to form a red giant .

Because most stars use up their supply of hydrogen , their outer layers expand and cool to form a red giant .
