It’s because Upstate New York is basically West Virginia, save for a few liberal bastions like Buffalo, Rochester, and Albany. There’s a lot of them electing right-wingers and they keep the state in a permanent deadlock.
Also this recent gubernational election had the closest race since 2014 when Cuomo almost lost to Astorino.