This can happen if you are burning wet wood, plastic materials, fire retardant-treated wood or high resin content.
This can also happen if the hot fire chamber is overloaded with wood treated with fire retardant. Do not use such fuel.
Burn seasoned wood ONLY, ensuring it is positioned lengthwise in the firebox.