None of those laws make it 'illegal' to boycott Israel, so you are just full of crap.
They require government contractors to not participate in certain boycotts, which is completely in line with long standing US policy. Doing otherwise would be insane, the government would be funding both it's own stated objectives and the opposite.
When the shoe is on the other foot you support this behavior. I don't see you crying over half the countries in the middle east forcing every company they work with to boycott Israel.