FWIW, aloe isn't really a good remedy for sunburn. A sunburn, like any other skinburn, should be treated quickly with lots of running water slightly colder than lukewarm; i.e. a cold shower. That's a lot more efficient due to basic physics.
I thought this was common knowledge, i.e. basic first aid for burns in general?
I mean, I know what's recommended as basic first aid for burns, and maybe that's common knowledge. The why of it, in enough detail, almost certainly isn't. Note also that aloe is quite commonly recommended as a part of "basic first aid for burns in general" following cooling.