There should be no reason to not be able to file as a Part-Year resident for Massachusetts.
Please go back through that return and see if you might have entered 2023 incorrectly as 2024.