Yes, frosting can go bad in heat as it may melt, separate, or spoil due to the high temperature.