Guinea pigs cannot eat baked goods such as cakes and cookies because the excessive carbohydrates and novel chemical compounds found in these foods make them toxic for guinea pigs. It is important to never feed cooked or baked foods to pets, as their digestive systems are not designed to process these types of food. Feeding guinea pigs baked goods could potentially lead to serious health issues for them.