Rabbits should not eat onions because they contain toxins that can cause anemia and are quite acidic, which can harm their digestive system. It is important to avoid feeding rabbits onions as their consumption can lead to health issues and should be substituted with safe alternatives.