Gallstones can block the normal flow of bile if they lodge in any of the ducts that carry bile from the liver to the small intestine. Gallstones can block the hepatic ducts, which carry bile out of the liver. This can cause inflammation of the liver.