What causes vaginal pain during pregnancy

je
I'm 40 weeks today and my midwife tells me the pain is normally and I believe that but I want to know what causes this exact feeling it's on my sides of vagina not in it ND it feels like a bruise ? When I walk or flip sides laying down it feels like a swollen muscle