Thanks for your query.
it is generally traumatic in origin following forceful sex or masturbation
.If non traumatic needs trans rectal ultrasound
to find the cause & treat the cause.any thing in prostate
,urethra & testicle can lead to blood in semen
‘Hope I have answered your query, I will be available to answer your follow up queries, “Wish you Good Health and trouble free speedy recovery”