Why do the yucca plant and yucca moth live together?

The female yucca moth chooses to go to nearby yucca plant in order to get the pollen from the plant. The moth then starts to lay eggs in the large flowers of the yucca plant.