Over time the explosions in the muffler will destroy the muffler.
Mufflers are designed to slow down & cool the exhaust gasses, not to contain an explosion.
The problem stems from the ignorant emission nazis who mandate emission levels for small engines that are way way way too lean.
This means that the exhaust is way , way , way , way too hot so the muffler is red hot internally for quite a long while.
The engine kill stops the sparks so you get a couple of revolutions where there is unburned fuel sent into the muffler.
Air also enters the muffler from the outlet because exhaust is no longer being pushed out.
When the oxygen : fuel ratio gets to between 15:1 and 20:1 you have an explosive mix sitting in the muffler, add a red lot piece of steel & " it goes Bang really loudly daddy" & hurts my ears.
The type &/or quality of the fuel makes no difference.
The only way to stop it happening is to cut the fuel off & let the engine starve off ( Costs $ 5 for a tap ) or replace the very expensive carb solenoid ( costs $50 to $ 100 ) every 10 years or so.