If the surface of the wax overheats the whole surface can catch fire not just the wick.
Wax, when vaporized, is highly flammable. If the surface gets hot enough it starts vaporizing.
This more often happens when the wax is low and more heat is trapped by the sides of the jar. Or if you’re a stupid kid and try to heat things with a candle.
The flames can actually be quite large