Why are human feces riskier than urine with regard to spreading diseases?
Many gut microbes are pathobionts or opportunistic pathogens — these organisms can be part of the normal gut flora (microbiome) of healthy individuals, but under the right (for them) circumstances (e.g.s: when introduced into the bloodstream by a cut, or due to immunosuppression) they can cause disease.1,2

As for urine, there are many fewer microbes present (>400 species and 109 to 1011 bacteria/g of contents in the large intestine vs. &lt;100 species and on the order of 105 bacteria per mL of urine).3-5  Note, however, it is still far from sterile!5-7

You might also find the following of interest:
https://www.who.int/water_sanitation_health/dwq/iwachap5.pdf



References:
1: Hornef, M. (2015). Pathogens, commensal symbionts, and pathobionts: discovery and functional effects on the host. ILAR journal, 56(2), 159-162.

2: Price, L. B., Hungate, B. A., Koch, B. J., Davis, G. S., &amp; Liu, C. M. (2017). Colonizing opportunistic pathogens (COPs): the beasts in all of us. PLoS pathogens, 13(8), e1006369.

3: Davis, C. P. (1996). Normal flora. In Medical Microbiology. 4th edition. University of Texas Medical Branch at Galveston.

4: Barnett, B. J., &amp; Stephens, D. S. (1997). Urinary tract infection: an overview. The American journal of the medical sciences, 314(4), 245-249.

5: Lewis, D. A., Brown, R., Williams, J., White, P., Jacobson, S. K., Marchesi, J., &amp; Drake, M. J. (2013). The human urinary microbiome; bacterial DNA in voided urine of asymptomatic adults. Frontiers in cellular and infection microbiology, 3, 41.

6: Hilt, E. E., McKinley, K., Pearce, M. M., Rosenfeld, A. B., Zilliox, M. J., Mueller, E. R., ... &amp; Schreckenberger, P. C. (2014). Urine is not sterile: use of enhanced urine culture techniques to detect resident bacterial flora in the adult female bladder. Journal of clinical microbiology, 52(3), 871-876.

7: Whiteside, S. A., Razvi, H., Dave, S., Reid, G., &amp; Burton, J. P. (2015). The microbiome of the urinary tract—a role beyond infection. Nature Reviews Urology, 12(2), 81.