I just had my appointment with the gastro specialist. He explained to me that the nerves give off mixed messages to the abdomen. He told me to google monash university and search the low FODMAP diet. He said this is what he’s has recommended for patients with issues like ours.
Hope this works for you. Changing what you eat will certainly help.