Morally it's clear that you should treat others by the standards that you believe to be universal.
A government's ability to guarantee and protect these rights is, of course, limited by its geography. Other people may have different value systems which mean they protect a different set of rights than those defined in the US constitution (although the DoI does declare them to be 'unalienable'). But that's not what people are talking about when they talk about US government spying internationally. The US government violates rights it considers to be universal, and many of the people who's rights are violated are in countries with similarly enshrined values, and also who's countries are not at war with the US.