possibly you have an irritable bowel syndrome
should clear the picture. The other back pain
you are describing is possibly due to spine problem or fibro myalgia.
Can try taking isapgula along with a probiotic
to regularize your bowel movements.
Hope this answers your query,
Wish you a speedy recovery.