That change in macOS gatekeeper is not well documented for some reason. It occurred in 10.12 or thereabouts I think. Apple decided that nothing should use DownLoads to load and run anything and if you try it reloads it into tmp someplace to help prevent download based attacks, ransomware, etc.
Manually moving it outside your Downloads folder using the Finder changes some of the extended quarantine flags to allow it to be loaded. Any automated or terminal based movement out of Downloads will not change quarantine flags, preventing it from being run. All of this makes sense, but they have not made it very clear to users.
So nowadays I never try to load or run anything in Downloads anymore. I manually move it to my Desktop first. That does the trick.
|