What changes within the star A lead to the red giant B?