The oozing wax is bathed in Arya's divine light. However while it does indeed "burn" those caught in it, it's not the same kind of burn as actual physical fire, and as such the wax appears unaffected.