Hitting my cervix or something else

Fiancé and I tried to have sex this morning. I’m 35 weeks today. He ended up stopping and said it felt like he was hitting something. Freaked me out and I was like what? We were on vacation a week and a half ago and had sex and it was fine besides it being painful for me. Why or what did it bother him today and what was he hitting?