Why does this LED shine brighter with increasing resistance
Improper operation and usage of LED outside its safe operating parameters.

With too low resistance, it overheats and gets damaged.

Apparently when it cools down it seems to resume operating, but most likely it has already suffered some damage.