State tax filing

What's special about breaking income state-wise? My w2 clearly shows separate incomes for the two states. Also, about stocks and dividends, I know the state I was living in when I sold them, so I can separate them. What else is different? Am I missing something?

 

Thanks,