This should not come as a surprise either, since it's essentially the implementation of Article 12 of the Universal Declaration of Human Rights.
Where it usually goes wrong, is with the interpretation of the words "privacy" and "communication". Also, governments have a habit of defining exceptional situations in which these laws can be violated in the name of some supposedly higher purpose (e.g. national security).
Strictly speaking, the UDHR is rather clear about one thing: the declared human rights are inalienable (meaning, they can neither be taken away nor be given away freely), so all the exceptions are essentially bullshit excuses. Those should not exist in the first place, at least not according to the "inalienably" part of "inalienable human rights".
Additionally, there is no law/treaty that explains why modern technologies should not be subject to Article 12. While plenty of governments/businesses would like to convince people otherwise, almost everything we do online is strictly speaking telecommunication of some sort or another.
The sad truth is that pretty much all of today's online privacy issues are strictly speaking in violation of the UDHR. There is just way too much at stake for businesses and governments alike for them to ever acknowledge it. It doesn't change that they are blatantly violating a treaty they signed, ratified and should be upholding though.