Out of State [income] Taxes

It may depend whether your W2 is issued with multiple states on it. If they allocate income to state B then they may withhold tax there in which case you need to file to get credit for having paid it.