Grey hair is natural! People start greying at different ages. The most common cause of gray hair is genes.
Vitamin deficiency, particularly Vitamin B deficiency, smoking
thyroid issues (like you mentioned) can cause grey hair. Stress is another major cause of premature greying, that people often ignore!
Next Steps
Healthy diet and lifestyle improvement. Reach out to a dermatologist/psychiatrist if you feel the need!