Spouse works in different state from where we live- AGI is pulling into non-resident return?

Why is my income being calculated in the AGI for DE when I didn't receive income in DE, only my spouse did? Shouldn't it only pull in my spouse's income?

 

We both live in NC. I should not be paying any taxes to a state in which I did not live nor earn income only my spouse should pay the taxes to the state where she worked.