Hello!
Thank you for the query.
Your problem can be caused by several conditions including chronic bacterial infection of digestive tract (what leads to an IBS), pancreas disease, partial bowels obstruction due to
Crohns disease for example.
Back pain and
abdominal pain can also be caused by kidney disease indeed. If the pain is strong, appears and disappears spontaneously, stones can be the reason. You should also have burning while urinating or pain while urinating, frequent urinating.
Chronic bacterial infection can cause all mentioned by you symptoms. Due to loss of balance, our natural intestinal bacteria are disappearing and in that place, bad bacteria appear. And as good bacteria are extremely important for proper bowels function, it causes symptoms like yours.
Pancreas disease can give bowels problems due to lack of enzymes (the food remains undigested). This causes diarrhea and other stool problems.
Partial bowels obstruction can give diarrhea and/or
constipation alternately,
weight loss, abdominal pain, abdominal cramps, bloated abdomen, nausea.
Blood in stool or mucus in stool can be present.
I suggest you to visit your doctor and have some tests done. Abdominal
ultrasound, blood work, liver tests, amylase, urine amylase, stool tests, stool culture test should be done at first.
Colonoscopy might be also necessary.
You should also discuss with your doctor Rifaximine treatment (for chronic infection). This is a special antibiotic which can be very helpful in case of such symptoms.
Hope this will help.
Regards.