Prometheus’s gift of fire to humanity led Zeus to order Pandora’s creation in the Greek myth.
Prometheus was a Titan associated with forethought and with helping humankind. In the mythic tradition, he stole or obtained fire for humans after Zeus had withheld it. Zeus responded by devising a punishment that affected humanity as well as Prometheus.
That punishment included the creation of Pandora, who was presented to Prometheus’s brother Epimetheus. Prometheus had warned Epimetheus not to accept gifts from Zeus, but Epimetheus accepted Pandora. Her opening of the vessel released the troubles that came to afflict human life.
The fire episode and Pandora episode are related but distinct. Prometheus is not the person who opens the container, and Pandora is not created by Prometheus. Those roles are often blurred in simplified retellings.