Bleeding during sex

The other day I was with this guy and we were trying to have sex but it wouldn’t go in. And then when he was able to put it in we couldn’t get comfortable so we moved to a different position and then when he tried to put it back in he stopped and asked if I was on my period. I had started bleeding and I was bleeding really bad. I was wet but I was thinking maybe I wasn’t wet enough? Or could it be bc I haven’t had sex (or like masturbated or anything) in 2 months so I got tighter again? Idk I was just so mad at myself but he took it well even though his dick was all bloody.