It is because without food, your body goes into a sympathetic state where it in the absence of calories for fuel it starts cranking out adrenalin and cortisol. These hormones blunt feelings of hunger and make you feel alert and energetic. This is why most feel great when IFing. However this is not a good state to be in, long term.