A thyroid doctor is called an endocrinologist, as they specialize in diagnosing and treating thyroid-related conditions like hypothyroidism, hyperthyroidism, and thyroid nodules.