Dynamite will not explode while retreating worm is jumping
From Worms Knowledge Base
After dropping Dynamite, if the retreating worm is in the process of jumping when the fuse runs down then the Dynamite will not detonate until the worm either lands or enters freefall.
It's possible that this glitch was intentional. Either way, it was fixed (or removed) in WormsDC.