Favorite Answer

Lightning is as you say hotter than the "surface" of the sun, and thus much hotter than lava. Think of it this way- lava comes from inside of the earth. If the inside of the earth were as hot or hotter than the sun, then the earth itself would be a star. Lava is around 1000 degrees C, Lightning is around 30,000 degrees C.

Hope this helps