A candle heated by its own flame melts from the top down and therefore cannot explode in this manner.
A candle ignited by its own flames softens from the upper part and therefore will not detonate in this fashion.