State tax filing

I don't see where NY is prorating my income.  NY seems to be taxing me on my entire income, rather than the roughly $6,800 that I made while working in NY.  I earned the balance of my income (roughly $33,000) in MA.  How can it be right that NY is taxing me on my entire income, most of which I made in my current state of residency (MA)?  Shouldn't NY only tax me on the income that I made while living and working there?  I moved to MA on 5/1/2021, so I lived and worked in MA for 2/3 of the year.