Guinea pigs cannot eat cooked food because it contains excessive carbohydrates and novel chemical compounds, making it toxic for them. Additionally, the high levels of readily available starches and sugars in cooked food may cause abnormal digestion and fermentation in guinea pigs, leading to potential health issues. Therefore, it is best to avoid feeding guinea pigs any kind of cooked food to ensure their well-being.