You don't understand how precedent and case-law works. This law was passed in New York. If I, as a Texan, tried to sue in New York to overturn the law, I would be tossed out because as a Texan, I have no STANDING to sue because the law does not directly affect me. This is a legal principle that the courts follow.
Now, if a New Yorker challenges the law in court, and the Supreme Court declares that the law is unconstitutional, then that decision serves as precedent that ANYONE can cite, if a similar law is passed in Texas, California, Kansas, Alaska, Hawaii, etc etc etc. In other words, if this law is struck down in New York, then that will give ANYONE IN ANY STATE ammunition to shoot down identical or similar laws passed in OTHER states. That means that we don't need to do the fighting for the New Yorkers, because we legally can't. If they fight and win, their win is a win for everyone, regardless of what state you live in.