It's called nucleation. If you add any powder or material with rough surfaces to a liquid in which there is absorbed gas the gas will collect around those rough points and will be able - with less energy than it could without those points to gather and form larger bubbles. The larger bubbles will then be able to expel themselves from the liquid. Now if you ferment in a carboy and that carboy is pretty much full then you create a volcano as the gas projects the liquid through the neck of the carboy. If you ferment in a bucket and you have several pints of headroom you will still get this nucleated foam but you won't create any volcano... The solution, of course, is to dissolve any powder in water or the mead before you add it to your fermenter...
Nucleation is one way to degas wines.. You can add tiny sanitized silicone screws or fasteners to the carboy to help remove CO2...