Could be lean backfires or rich backfires. Usually you can tell by the sound. Bad spark, vaccum leaks, sensor issues (are you throwing any engine codes) allo possible causes.
Lean backfiring is too much air in the fuel mix and rich is just the opposite.