If your blood has high levels of cholesterol, which can cause heart problems, your doctor might recommend medicine to bring those down. Some of those can affect your digestion and cause problems like gas, constipation, or diarrhea.
It’s rare, but cholesterol drugs known as statins can cause problems with your liver, too.