It's an unintended long exposure coupled with a flash (which freezes the action). It is quite common these days because certain programmes on digital cameras allow this unlikely combination (eg 'night mode'). The wispy effect comes from light sources out of the frame that the camera pointed at while the shutter was still open. The photographer would have seen the flash and thought the exposure was done and probably lowered the camera, producing the observed effect.