Air bubble insulation, sold as bubble foil or bubble sheet, is a layer of plastic bubble film laminated between aluminium foils. Foil-faced XLPE foam is a solid sheet of closed-cell cross-linked polyethylene with the same kind of foil on one or both sides. On the roll they look similar and both are sold as roof insulation, but they do not do the job equally well.
Both rely on the foil to reflect radiant heat, and the foil works equally well on either. The difference is what sits behind it, and how it holds up after years under a hot roof.