How to report Gain or Loss from Sale/Disposition of Property (resident not rental)

I changed my job so I moved from MD to NJ, and sold my condo in MD 2021 with a loss.  In NJ state return, it asks me if "Any sales of property not subject to NJ tax"?  And I clicked on YES.  It shows not just that sold property but also a list of stocks I made gain or loss in 2021 -- do I click on "Omit" all of them? 

 

I check-box "Omit" on stocks that lose money, then my NJ tax payment increases.  If I check-box "Omit" on stocks that made money, then my NJ tax reduced.  -- why?

 

I don't understand why stocks are the "property" here which I have never seen this in state return before.  And the "gain/loss" does not seem logically to me.