Spicy foods can cause internal irritation, inflammation and pain. Your body may see capsaicin as a toxin and try to get rid of it.