That was actually the reason why the Nazis decided to build the gas chambers. Shooting was considered too inhumane, for the shooters. Gassing the Jews was the more "humane" solution.
I think gassing them was more about striking fear into the hearts of Jews than about being “humane”. After all, Hitler and the Nazis thought of Jews as being mere rats.