Hi, thanks for the query.
Root cause of your's problems are bloating
and burning sensation in rectum
The worrisome is that the change in the habit of bowel movement ( if persist than dangerous)
If previously the consistency of stool was solid , now it is semisolid ( soft as you mentioned) than change the dietary habit for few days it will be right.
One most important point to be noted is that chances of haemorrhoids are very much in your case.
Bloating may be due to gastritis
and hyper acidity.
Good luck. DR. HET.