Consuming all the food makes Gunesh look selfish because no one is aware of his motive. Consequently, Goddess Parvati scolds and punishes him.