Lots of reasons
If this is a sudden change, then you need to look at what else has changed.
Infections, drop in hormones, change in sexual technique, change in the relationship, herpes
, trauma and many other choices. If the pain persists, it is time to call your family doctor.