The logic, whether or not you agree with it, is that drugs in general are hazardous and can kill or disable you, and they contribute to a black market and all the related crimes of drug trafficking and addiction. So punishments aren’t for drug use but for possession and trafficking.
Edit: to all the downvoters, I’m not advocating for draconian drug laws, I’m just answering OP’s question on why cops and lawmakers have such a policy and the logic behind it.
We need to treat the rightwing Israeli government like the pariah that they are. If North Korea was selling tools like this there would be consequences. Meanwhile Israel repeatedly sells Pegasus and other hack tools and spies on democracy activists.