It sounds like you are getting confused by the summary that TurboTax gives you showing the net amount that you owe after you receive a refund from your state. LOOK at both of your actual returns. What does it say on line 22 of your federal Form 1040? What does it show on your state return?
https://ttlc.intuit.com/questions/1901539-how-do-i-preview-my-turbotax-online-return-before-filing
**Disclaimer: Every effort has been made to offer the most correct information possible. The poster disclaims any legal responsibility for the accuracy of the information that is contained in this post.**