I moved to Missouri from Tennessee - why do i have to pay income tax on income earned out of state?

I worked and lived the first half of 2016 in Tennessee, a state with no income tax, then moved to Missouri and since a resident now am being charged income tax on all the money I made while in Tennessee. Is there a way to avoid this?