Hot flashing occurs with a drop in estrogen. Estrogen naturally drops at night, therefore the reason for those hideous night sweats.
Estrogen also drops just before menustration. You can keep track of your erratic cycles if you notice that your hot flashes are worse at certain times of the month. That is, if you are still ovulating at all.