Partial Taxes for DC area

My filing says I owe to a state that i did not reside in all year so why would I need owe them almost $6000 dollars