From a scientific standpoint, ketchup and mustard have a beneficial role in the human body.
The body does not synthesize carotenoids. We obtain these from foods like tomatoes, fruits, vegetables, or dietary supplements. Ketchup made from tomatoes is rich in carotenoids.
Carotenoids are an essential component of the human diet. They act as antioxidants within the body, protecting it against cell damage. Beta carotene gets stored in the liver and is converted into the body as needed into Vitamin A. It is a provitamin (i.e., a precursor to the vitamin). Vitamin transformed red into a light-sensitive pigment — rhodopsin- in the eye retina.
The daily requirement of beta-carotene is just 1000mg for males and 800mg for females. Excess Vitamin A is harmful to the body, but carotene is non-toxic.
It is long considered that processed fruits and vegetables have lower nutritional value than fresh commodities due to the loss of vitamin C during processing. A study showed that thermal processing elevated tomatoes’ total antioxidant activity and bioaccessible lycopene content. There were no significant changes in the total phenolics and flavonoid content, although a loss of vitamin C was seen. This study helps clarify doubts in the minds of consumers concerned about the loss of nutritional value of processed tomato products (Dewanto et al., 2002).
Alpha-carotene is a precursor to creating Vitamin A in the body but is far less common than beta-carotene. Both alpha and beta-carotene are fat-soluble and are best consumed with some form of fat.
A teaspoon of B.alba (white mustard) seed contains 87.1 mg of omega-3 fatty acids, 84.2 mg of omega-6 fatty acids, 22.2 mg of potassium, 27.3 mg of phosphorous, 9.7 mg of magnesium, and 16.9 mg of calcium.
Scientific evidence in support of the medicinal properties of mustard is as yet inconclusive.
I would therefore conclude that when consumed in moderation, both ketchup and mustard are nutritionally valuable.
You can read more on mustard here and on carotenoids and tomatoes here.