Schedule C and 1099-NEC

Hi there, I live and work in State A, but have been doing freelance web design work for a company in State B for the majority of 2020 in addition to my primary job here in State A. 

 

Do I need to claim my income from my 1099-NEC in State B as a non-resident, or can I just claim my freelance income and whole Schedule C in State A?

 

I'm now asking because I just did my State B non-resident form, and when getting to State A it offers me the option to exclude my Schedule C, and in trying to find out why I would do that - something came up that suggested I may not have to file in State B at all? Now I'm just utterly confused. Thanks for the assistance!