An unhealthy scalp can impact the condition of hair follicles, leading to weaker, thinner hair over time.