If married filing jointly and we live and earn income in separate state should we be taxed in the one state only?

I have income from UT and it has state income tax.  Spouse has income and live in WY and there is no state income tax.  Why do we pay for WY income on the UT state income tax?