CAUSES OF BLOOD IN THE URINE
A number of conditions can cause hematuria.
•Bladder infection (also called acute cystitis), which typically causes burning or pain with urination
•Kidney infection (also called pyelonephritis)
Kidney stones, which usually present with one-sided back or flank pain that can be severe (see "Patient information: Kidney stones in adults (Beyond the Basics)")
Certain kidney diseases
Vigorous exercise or injury (for example, after falling off a bike and bruising a kidney)
Enlargement of the prostate (called benign prostatic hyperplasia), which is a common problem in older men
•Cancer of the bladder, prostate, or kidney, more often in patients over age 50 (see "Patient information: Bladder cancer diagnosis and staging (Beyond the Basics)")
Sometimes, the urine appears to have blood in it because there are other red substances (pigments) in the urine. This can happen if you eat an excessive amount of beets (called beeturia), food dyes, or certain medications (such as phenazopyridine/Pyridium®).
I hope this helps and i hope u find the answer to your question. take care.
Blood can be from a urinary tract infection or kidney problem.