It could be a bad ground to the ignition box or coil.

R.