The primary mechanism through which goitrogens affect the thyroid is by inhibiting iodine absorption. Iodine is crucial for the synthesis of the thyroid hormones thyroxine (T4) and triiodothyronine (T3). When the uptake of iodine is compromised, the thyroid gland may become enlarged as it attempts to compensate for reduced hormone production, leading to the formation of a goiter.