A hot flash isn’t random. It’s your thermostat.
In a small lab study of postmenopausal women, those without hot flashes had a 0.4 °C buffer between sweating and shivering. Those with hot flashes had none, so a small rise in body heat may be enough to set one off.