It’s a vapor barrier. Flex-duct often has a polymer wrap, not foil. If the dew point is 65°F, and your A/C kicks out 55°F air, you’ll get condensation on the ductwork. If the fiberglass insulation is unfaced, it will become saturated, and perhaps start a science experiment…