During lactation, NIS expression in the mammary glands increases to facilitate the transfer of iodide into breast milk. This process is crucial for ensuring that newborns receive an adequate supply of iodide, which is important for their thyroid function and overall development.