It doesn't always. It could just be what you are eating or your body's mineral levels. As long as you're not having any bleeding or pain, it's not really anything to worry about.
It's probably vitamins that you are taking. Vitamin B can give urine a metallic smell.