The large amount of sugar stabilizes the very small amount of butter and milk used to make the frosting, making it good at room temperature for a couple of days.