I was the same, sex at that stage was very uncomfortable, and our baby's head was going lower which was uncomfortable when I was walking
Your baby could possibly be sitting lower or just positioned weird. It could have also aggrevated your cervix. Just try and keep comfy...sit on a yoga ball.