The temperature of the atmosphere at a high altitude is around 500°C, but density of air molecule is extremely low at this height. So, very less molecules of air collide with the body of the animal and transfer very less amount of heat. That is why the animal present there would freeze to death instead boiling.