It can happen when the filament is unloaded and reloaded into the printer because the nozzle reaches 250 degrees.
If it’s smoking while you’re printing, then that seems like a serious problem.
PS: Mine also occasionally smokes a bit when I’m loading the filament.