Can a UTI cause spotting between periods?

No. A UTI can cause blood in your urine that can be confused with vaginal bleeding. It will not cause you to have spotting in between cycles. At your age, any abnormal uterine bleeding should be investigated by your physician.