State tax filing

just like for Federal, your resident state generally taxes you on your worldwide (out of state) income with certain exceptions.  note that for state A you should be able to claim a credit for taxes paid to state B