Poland made it an offence to say that the Polish state was in any way involved. As it wasn’t.
There were Polish individuals involved, but the Polish state ceased to exist in 1939 when the Russians and the Germans divided Poland up and wiped it off the map.
Israel’s government was offended by that law and saw it as Holocaust denial which offended the Polish nationalists and strained relations between Poland and Israel.