Do you have digestion problems with other foods too? Do these problems show up in a variety of patterns, no matter what you eat?
The foods you listed are difficult for the body to digest, so you may be starting Irritable Bowel Syndrome. At first it seems only certain foods cause a problem, eventually leading to all foods causing it, but with no rhyme or reason to the "episodes".
If your problem has occured for longer than 2-3 months, or if you are losing weight without trying, please see your medical professional for a thorough evaluation.