Tomato ketchup already has some similar flavours that are added to barbecue sauce, which makes it an ideal base. Tomato sauce is generally just pureed tomatoes with salt, and sometimes the addition of basic spices. It is not ideal for BBQ sauce, as it is generally thinner and more acidic.