How does Turbo Tax Deluxe 2023 determine the NC State taxable income?

Why is my NC state taxable income a negative number?