Quick google search of the AZ law says it will tax solar energy exported to other states and divide the proceeds among the local residents, which sounds a bit more nuanced than your summary. Not saying it's positive, but it's not clear to me that it's negative without more details; some form of this could incentivize more of the land to be used for solar, for example. I actually thought that this sort of law would be disallowed by the fed, since they reserve the right to govern interstate commerce.