Totally could be. At this point, I would suggest taking it easy today, refrain from sex, and give your doctor a call tomorrow whether it continues or not. If it stops, then there is a good chance that was the cause.
I ended up in L&D at like 25 weeks due to this. Good times.