In NY, especially NYC; there is a warped Liberal/Progressive mindset. There are many there that believe guns cause crime, and if you dare try to protect yourself against a criminal. You're prosecuted more vigorously than a criminal, to the point that you might be better off claiming to have been the actual mugger rather than defending yourself from one.
Crime is big business in NYC; keeps many people employed: social workers, prosecutors, public defendants, cops, jails, and many other "social services". If all of a sudden there were lot less criminals, a lot of people would be out of a job. To help prevent that, more laws are thrown on the books, so that the average law abiding citizen can be charged with a misdemeanor or felony at any time by an over-zealous prosecutor.