Should my resident state tax increase when I have over $17k in losses in another state?

When I enter the out-of-state income (which is a third of the total losses), my resident taxes decrease.

Then, when I enter my out-of-state losses (which are triple the income), my resident taxes increase.

This seems backwards to me and is growing very frustrating, any help is appreciated.