Hello and welcome to ‘Ask A Doctor’ service.
I have reviewed your query and here is my advice.
Sweating and
body odor are facts of life for most people.
Heavy perspiration and body odor can happen when you exercise, when you're too warm, or when you're nervous, anxious or under
stress.(in my opinion ,this last element is determinant in your case.)
About the body odor i can say that your sweat will smell like ammonia only if an excessive amount of amino acids are being used for energy(when you exercise regularly but you don't take enough carbohydrates in your diet, for example), or you are not receiving adequate water(
dehydration).
The key to avoiding that ammonia smell is to ingest sufficient carbohydrates. If you eat an ample amount of carbohydrate with every meal, then you should have plenty to fuel your exercise activity.
At the other side
excessive sweating and body odor can be caused by an underlying medical condition, such as an infection,
diabetes or an overactive thyroid (
hyperthyroidism).
Infection and Diabetes can be excluded in your case(considering your medical history.
So,to resume my answer:Yes,Your symptoms can be caused by a thyroid issue.
My advice is to do the thyroid testsTSH,fT3and fT4 to clarifie if you ahve any thyroid condition that can explain your actual problem.
Hope this is helpful.
Let me know if i can assist you further.