Must I include rental revenue from NY (non-resident) on my MA (resident) return? Why might the amount look different for MA?

I have rental revenue from NY (where I'm not a resident), which is completely cancelled out by expenses on my NY and federal returns. On my MA return, it's asking if I want to exclude this income. First of all, can I legally exclude my NY rental revenue from my MA return? Second, it looks like the expenses are not zeroing out the income on my MA return. Why would these be different from on federal and NY? Are there certain types of expenses that are deductible federally but not allowed in MA? If this came to the same amount ($0), there would be no reason even to wonder if I could legally exclude it from this state. Fundamentally, there was revenue but no profit from this property in 2024. Thank you!