I am not sure, but I think the Nsw York State legislature has enough votes to override her veto. It does not make any sense why she vetoed such bill. I think she has buissness ties to buissnesses that rely on such agreements.
www.wsj.com
www.nytimes.com
abc7ny.com
New York Gov. Kathy Hochul Rejects Ban on Noncompete Agreements
The Democrat vetoed state bill that would have made such pacts unenforceable in the state.

Hochul Vetoes Ban on Noncompete Agreements in New York (Published 2023)
The governor wanted to allow employers to use the agreements with high-paid workers, but was unable to work out a compromise with state lawmakers.

New York Governor Kathy Hochul vetoes bill that would ban noncompete agreements
Gov. Kathy Hochul, who said she tried to work with the Legislature on a "reasonable compromise" this year, called the bill "a one-size-fits-all-approach" for New York companies legitimately trying to retain top talent.