Spying on allies is a time-treasured practice. Countries have no allies, just frenemies.
It would be rogue if it decided to, say, give crucial information to a foreign country at the expense of the United States.
But what does that make us? Are we now the bitter EX of the US?