To be able to make the beracha (blessing) of HaTov VeHaMetiv, a person has to be drinking together with somebody else. If the person is drinking wine by themselves, then the beracha of HaTov VeHaMetiv does not apply. But when a person is with other people and they are sharing multiple wines, that is when HaTov VeHaMetiv applies, because the explanation of the beracha is Hatov Li, Hashem does good for me, and Metiv, and He does even more good for others as well. So it is a beracha that is meant to be said in the presence and company of other people. This also means that the beracha can only be made when more than one person is enjoying both wines or all of the wines that are being brought. If I am drinking one wine and someone I am sitting with is drinking a different wine, but we do not share the other wine, or one of the parties does not share both wines, then HaTov VeHaMetiv cannot be made.
Lastly, HaTov VeHaMetiv is only made in the context of a seudah. They have to be having a meal. If you just go to someone’s house to say L'chaim and they are just having wine, and then he brings another one, but they are not really sitting down to eat a meal together, then HaTov VeHaMetiv doesn’t... It is meant to be done in the context of sharing a meal together. But this does include kiddush (sanctification). So even though kiddush is said, let’s say, before the meal begins, that is still close enough in proximity to the meal that it is factored into the conversation of HaTov VeHaMetiv. And therefore, if one wine is used for kiddush and then they bring a second bottle of wine afterwards during the meal, HaTov VeHaMetiv is still recited.

