Guinea pigs should not eat nightshade because it contains toxic compounds such as solanine and tomatine, which can be neurotoxic and poisonous to guinea pigs. Ingesting nightshade can lead to symptoms such as drooling, diarrhea, and stomach pain in guinea pigs, making it important to avoid feeding them this food item.