The brain is an organ like any other and requires nutrition for proper function. Nothing grand about noting proper nutrient flow helps with cognition. It's intuitively obvious that hungry and tired people make more mistakes.
This is true. But even non hungry rested people make more mistakes when they underestimate a task. Which is what happens when you attempt a hard skill with a “eh this is the easy part” attitude.