It shouldn't, but it depends on if your pain is inside or outside, on your vulva and labia. Have you had a vaginal ultrasound?
There is something called a rectocele that could be causing it, depending on where you are feeling the swelling and pain - https://www.fascrs.org/patients/disease-condition/rectocele-0 It's often caused by chronic straining, constipation, childbirth (if you've had children), along with some other things.
https://www.mayoclinic.org/diseases-conditions/rectocele/symptoms-causes/syc-20353414
It's usually found during a gyno exam, though sometimes further testing is needed. It would be worth a call to your doctor if the symptoms match yours.