An old Honda G200 did that to me once after I replaced the ignition points. Turns out the ignition timing was adjustable, and I just set it randomly while installing the new parts.
Your engine is too new to have ignition points, but just something to keep in mind if you ever have this issue with an old one.