Certain metabolic disorders and liver diseases cause foul-smelling urine. Other conditions that can contribute to bad-smelling urine are bladder fistula and bladder infection.