This was part of the punishment of mankind , because Prometheus had stolen the secret of fire . All the gods helped by giving her seductive gifts . Zeus ordered Hephaestus to mold her out of earth as part of the punishment of mankind for Prometheus ' theft of the secret of fire , and all the gods joined in offering her `` seductive gifts '' .