A solar cooker may not cook food if :

Glass sheet covers does not allow the solar energy to flow out in the form of radiant heat. Thus it traps more and more heat rays of the sun thereby producing green house effect. That is why glass lid are closed in the solar cooker in order to trap more and more heat.