I believe sugar is added to tomato-based products (sauces, condiments, etc) because tomatoes are pretty acidic by themselves and sugar is a common way to balance out acidic foods.
A lot of tomato based sauces are just very sweet. If you're worried about the sugar intake eat less of it.