Why do ketchup manufacturing companies add xanthan gum to their products?

To keep water from separating out of ketchup

**********