Any time you reject a segment of the market, you're limiting the pool of available vendors. This obviously applies more to markets with significant presence in the boycotted country. Semiconductors for Taiwant, Israel makes plenty of sensor and software products.
The only thing segmenting the market are the anti-BDS laws. You can boycott Israel and still bid on a government contract and let market forces do the work.
This isn't an issue of market efficiency though, it's an issue of violating the first amendment.
Right except a specific country is excluded from that market. A company engaging in a boycott is saying "if the cheapest component comes from an Israeli firm, we're going to pay a prenup to source it somewhere from else." As a taxpayer, I don't want to be paying that premium.
A boycott is literally saying "we won't bid on x country's products". It means if the cheapest is from a boycotted country then a more expensive product will be bought instead. I'm baffled at the mental gymnastics one has to do to convince oneself thata boycott has no impact.