It might be an improper latch. When the baby doesn’t take in a good portion of the breast or chest, the nipple gets rubbed against the hard palate instead of the soft palate.
- Does your nipple look blanched or creased or lipstick shaped?
More information on sore nipples and possible causes: https://kellymom.com/hot-topics/sore-nipples-breasts/