He's the one that pointed a gun at somebody and pulled the trigger. Even if he was 100% sure the gun was not loaded, you NEVER, EVER, point a real gun at anybody unless you intend to kill that person.
This is and always has been the #1 rule of gun safety.
It is a Wild West action movie....really boring if the actors always point their guns in a safe direction and don’t pull the trigger! ;-)
The armourer (Gutierrez) should have gotten a few years (perhaps 3) and Baldwin since he was apparently messing around between takes should probably get the 18 months. The “bottom line/buck stops here” responsibility was with the armourer to make sure all guns on the set/area were loaded with blanks with no live ammo around. i.e. she has possession of all the guns on set and hands them to the actors right before the scene is “filmed”/recorded after triple-checking them for blanks. Then takes back possession of the guns after the scene is done.