One thing that I've noticed, is that the AI considers any allied City State to be part of it's "territory", so you might have just settled to close to a CS that was allied to America.
In one game, the Aztecs sent me the warning about massing armies on their borders, however, the Aztecs were...