The gas is caused by the contraction of the muscles and the cramps can be from obstructions in the bile ducts, or kidney stones in the urinary tract.
If it is just gas there are some natural remedies that can be used to bring relief.
Drinking dandelion tea helps both kidney stones and gallstones the tea helps promote the release of bile from the gallbladder. For centuries dandelion has been used as a folk remedy for its diuretic effects.
It helps to relieve discomfort of the gas that may be in the ureters, stomach, or intestine.
Chamomile and peppermint have been successful due to their antispasmodic effect on intestinal gas. Just drink 3 0r 4 cups a day for intestinal cramps.