Capital Gains and Losses Summary - what makes something a "non-Massachusetts item" ?

I'm working on my Massachusetts state tax return and I don't understand what it's asking me to do... I am a nonresident/part-year resident so I need to do something apparently.

 

what.png

What makes something a "non-Massachusetts item" ? I have no idea what would make something "from outside the state."

Would that mean "I didn't live in Massachusetts when this stuff was sold"?

Each line item in this table is like... "Bunchanumbers FID 500 IDX bunchanumbers" so I don't know how I'd determine what state that's "from."

 

So I'm guessing it's about where *I* lived at the time it was sold? And if I lived in MA at the time for each item, I wouldn't need to mark anything as a non-Massachusetts item?