He shot the gun for one reason - to show that he's a real 'Conservative'. He's said some things before that gun aficionados don't really like. He could have picked a better day though.
That's for sure. His stance on the AR-15 has rubbed a lot of gun owners the wrong way however.