Some folks have issues with the alkaloid substances found in nightshades that can cause or increase joint and muscle pain. Not sure if any official studies have been done but avoidance is best if you suffer from things like gout, arthritis etc.
Seemingly has worked for me......my pain has substantially quieted down since I quit them although I have green pepper occasionally without any issues.