Please try the salt protocol with Sea Salt (google curezone). You have done a lot of fasting and I would say your minerals/electrolytes are off. Take the salt protocol a couple of times a day. Your goal is to have three bowel movements each day. If you are not eating much, you need to up the amount of vegetables you are eating.
If you have a lot of gas, take probiotics and digestive enzymes. If you have gas and bloating, you are not digesting the food you are taking in. Whether this is a reaction from the fasting, it would be hard to say, but you Have to fix that. Don't eat anything that gives you gas and try to eat only lightly cooked healing foods until your digestion remedies itself.