The outer layers of the star grow a lot because of the heat of the core , and become much cooler . The outer layers of the star expand enormously and become much cooler in response to the very high temperature of the core .