If test results show an overactive thyroid this can cause the body to speed up it's functions. Because of this overdrive the mind and body feel racy and this can result in anxiety. In this case it would be a valid signal from the brain that something isn't working right.
Symptoms of a thyroid problem could include fatigue, weight gain, depression and anxiety, dry skin, painful joints and constipation. Your anxiety could be a symptom of a thryoid problem.
Anxiety and thyroid problems may be related, but they are certainly not mutually exclusive. A hyperactive thyroid gland has as one of its common symptoms is an increase in agitation and may cause anxiety based on other symptoms.