That is correct not an error. From Massachusetts:
If you're a nonresident of Massachusetts, you must file a Massachusetts Income Tax Return if you received Massachusetts source income in excess of your personal exemption multiplied by the ratio of your Massachusetts source income to your total income, or your gross income was more than $8,000 – whether received from sources inside or outside Massachusetts.
You're a nonresident if you are neither a full-year nor a part-year resident. Your Massachusetts tax treatment is based on your residency status and not the type of visa you hold.
Nonresidents use Form 1-NR/PY - Massachusetts Nonresident or Part-Year Resident Income Tax Return.
https://www.mass.gov/info-details/dor-personal-income-tax-forms-and-instructions
More from Massachusetts:
https://www.mass.gov/guides/personal-income-tax-for-nonresidents#residency-status