Agree with Tim2005 - possibly from improper timing, either too far advanced OR too far retarded. Also, too rich can cause it, since an over-rich condition, like retarded ignition, can cause an incomplete combustion that continues to burn as it exits the exhaust port.