Dear Anu,
Thyroid problems can be caused by genetic factors affecting the immune system. Congenital hypothyroidism can result in mental retardation and growth problems, so its detection early on is very important. Apparently your sons have developed well, with no signs of hypothyroidism, but talk with your doctor about your concerns. He/she can guide you.