Can u also say when will the man make the food?
Why doesn't "when will the man cook food" work?
Because it's the wrong tense.
When does the man makes food? Instead of cook
OH MY GOD I MADE IT TURN GREEN
does "When does the man cook food?" have sense?