Republicans in NY are not the same as Republicans in the other parts of the country (I imagine it’s the same California). For example, Republicans in NY tend not to be as conservative on social issues when compared to Republicans from the Bible or Rust Belts. However, like other Republicans, they tend to be fiscally conservative.
Also there’s less competition in the Republican Party in NY—makes it easier to run as one.