Do you have a pattern ??? In the cramps if yes they might be contractions but good luck bump
If the blood was in your urine and you have one sided back pain it could be a kidney infection. Very common in late pregnancy because the bladder has a hard time fully emptying and the tubes that lead from the kidneys to bladder dilate a bit so urine can easily backtrack and cause infection.
Your right i never thought about it like that but now thst mention it, it does feel like it could possibly more of a kidney infection than anthing else. Thaank you