Confused

So i went to put a tampon in and it wouldn't go in. I put my finger in my vaginal hole and it was really tight, my tampon almost wouldn't go in because it was so tight. This has never happened before. I was wondering if its because im on my period?