I'm curious about this too. I have also experienced this at times, although I wouldn't have found these words to describe it. I don't think it's been tied to any particular conditions like heat or stress. Usually it happens when I'm in bed and beginning to fall asleep.
Googling turns up https://en.m.wikipedia.org/wiki/Exploding_head_syndrome which sounds like what I've experienced.