Guinea pigs should not eat yams because they are high in carbohydrates, which can lead to digestive upset, bloat, or enterotoxemia. Additionally, the high sugar content can contribute to obesity, making it important to avoid yams as part of their main diet.