TMI it’s about boobs

Only ever had my nipples hurt when I was pregnant last year and recently my nipples started hurting out of nowhere. Why is that?