I’ve always thought that the New York accent had its origins in the Dutch language, but I could be wrong.
All I’m certain of is that I come from the NY border of Ontario and Quebec, just over the mountains from Vermont.
I have lived in Texas for many years and I’m never leaving. But remarkably, of all the folks I know around here, I’m the only one without an accent.