It depends on your intentions. For instance, reading your underage kid's text messages is legal if you want to ensure their safety. However, it's illegal for criminals to read someone's text messages if they wish to know their whereabouts and execute their evil plans.