As far as I can tell, Rater is closer to the truth here. Sunburn doesn't "burn" you the way touching a hot stove does: it's a bodily reaction to the UV damage in your cells. Skin cells damaged by UV light become a big cancer risk, and as a result your skin cells have a process in place that can trigger them to essentially self-repair, mitigate damage, or self-destruct. Sunburn is the body's reaction to this UV damage, not an actual burn in the traditional sense.
https://www.mdanderson.org/publicati...4Z1591413.html
edit to add:
I always love the chance to share a Kurzgesagt video https://youtu.be/1AElONvi9WQ. Key takeaways:
1. The cells in our body all have kill-switches to make them self-destruct if something goes wrong and they start to grow improperly. That kill switch usually works, but sometimes it doesn't.
2. The immune system kills most of these cancer cells that don't self-destruct...but some can still slip through the cracks. These few surviving cancer cells are the ones that become an actual problem.