Thought the engine was more basic than what it actually is... In that case please give us a little more info on the engine size brand and fuel delivery type...
With a more computer operated engine grounds are important but more than likely it is a sensor/computer glitch.
Is there a way to check for codes???