How can I have an underactive thyroid and still be losing weight constantly?

Many possible reason. Weight loss can be caused by many things and you need further evaluation. Also if you are receiving treatment for your under active thyroid the dose may need to be adjusted.