What could cause both thyroid and digestive problems?

Thyroid. Thyroid disorders are usually autoimmune on nature. Some GI issues are as well. These include gastritis, colitis, and celiac disease. Many can be screened by simple lab tests. See an endocrinologist.