I was in agony when I was pregnant with painful boobs when I got cold, the pain was just awful. Turned out it was Reynauds syndrome in my nipples, which I still get now.
In my case it's definitely caused by the bold, and keeping warm is the only way to stop the pain, but it's difficult, and even then sometimes it doesn't stop it.