Why do I owe north Carolina state taxes!

I only lived in North Carolina for two years and each year when I file my taxes NC says I owe x amount of dollars WHY!