State tax filing

So I moved from Texas to MA in May of 2019. While living in MA I  earned about 2/3 of my Federal Income that year. Turbo Tax completed  From 1, MA return but determined only the MA income as taxable(W2 form).. I filed the return FORM1 Massachusetts Resident Income Tax Return. I just got a bill from MA DOR saying I owe 1800 more in MA tax for 2019 . They are using my Federal or "total income" for the 2019 year, not just the MA portion of the W-2. Are they right(MA DOR) to bill me this additional tax due??? Turbo tax did not prepare the MA return that way. Thanks