The story goes it absolutely was, to an extent. Amazon was not impressed - to say the least - with Cagle's stunt with Delta Airlines. Amazon doesn't care about the NRA one way or the other, but what they saw in that instance was that things like corporate tax arrangements could become subject to the whim of politics in fights they weren't even interested in.
Amazon specifically Bezos is very very political. Owns the NYT.
I own the stock, I use Amazon but make no mistake the founder is a political op.