"And his wife looked behind him" - After the angel said, "Do not look behind you" - Her soul was stirred regarding her daughters that remained in Sodom "And she became a piller of salt" - Due to her having sinner with salt. How? In that on that night on which the angels came to Lot's house, she went to her neighbors' places with pretext to ask for salt. Her neighbors said to her, "And why do you need salt? Didn't you know that you were short on salt to got and take salt while it was still daytime?" She said to them, "We didn't need salt until guests came to us." And therefore, the people of Sodom knew about the angel that came to Lot's house.
Why Lot's Wife Was Punished With Salt of All Things
Midrash Aggadah, Genesis 19:26