Zeus ordered the gods to create Pandora as part of his punishment of humanity. In Hesiod’s account, Zeus acts after Prometheus steals fire and gives it to humans.
The punishment is presented as a chain of consequences. Zeus has Pandora fashioned and sends her to Epimetheus, who accepts her despite Prometheus’s warning. Pandora then opens the container, releasing the destructive forces that had been held inside.
This story belongs to a broader Greek mythic explanation for the human condition. Fire represents a powerful advantage for humanity, while Pandora’s arrival introduces the costs and vulnerabilities associated with mortal life.
Zeus is the ruler of the Olympian gods in these poems, but he is not described as personally crafting Pandora. Other gods contribute qualities and adornments, while the overall plan and command come from Zeus. That distinction separates Zeus’s role from Hephaestus’s role as divine craftsman.