Some time ago I was through a stage of depression, anxiety attacks and I couldn't eat a thing, my brain was simply refusing to accept a food. I lost a lot of weight then... But this is the worst way of losing weight IMHO. Every now and then I read about intermittent fasting and it reminds me of those days. When simply not eating lead to losing weight.