Arizona state tax

I am a resident of Arizona, but I work remotely out of NY,  I  am filing a AZ resident and a NY non resident returns.  After inputting all of the info, it shows I owe Arizona money.  Why?  I did not generate any income in Arizona.