The (unconvincing) argument is that boycotting Israel is discriminating on the basis of religion and ethnicity, and is therefore not protected under the 1st Amendment (for the same reason laws banning racial discrimination don’t violate the 1st amendment.)
It’s not a very good argument imo.