Might be a random misfire that comes and goes. You might want to read what codes are stored. If these are misfire codes, you might do a simple tune up (spark plugs and wires) if you are due for those anyway.
There are all kinds of reasons this could occur. We'd need some data to speculate further.
Answers
There are all kinds of reasons this could occur. We'd need some data to speculate further.