IQ is not abstract 'perfect world' capacity. It's a reflection of how well developed your brain actually is (to the limits of what areas it can measure). Without nutrition, the brain doesn't build actual neural capacity, and the IQ is lower than well-fed peers.