How many hours on the mower, what year is it? Is it parked outdoors, any sign of vermin? Sounds like an mis to me not a backfire. Does it get worse when it’s warmed up? If so probably a coil. Start easy,
obvious, before chasing your tail. I’d type more but the pop ups on this site make it...