made with a and b (exclusive)?
As stated it would be ambiguous, you could add the word "respectively" to make the meaning entirely clear:
"Two products are made with A and B, respectively"
Here the adverb "respectively" means "considered individually or in turn, and in the order mentioned".