Microscopic examination of a sample of low cretaceous igneous rock (alkaline bazaltoid or monchiquite?) revealed this foaming in the older generation of apatite (see photo). The central parts of apatite crystals are highly crowded with gas-liquid inclusions, the surfaces of crystals, just as younger generations are without them. Do you happen to know what that indicates? My timid guess is that it could be the release and decay of a supercritical fluid during crystallization, perhaps. I can't find anything like that in the literature.