How does dry ice carbonate fruit?

Dry ice is frozen carbon dioxide. At room temperature, solid carbon dioxide sublimates. Thus, it gives off CO2 gas, which is what carbonation is.