If you don't want your teen doing something, make sure you are not doing it yourself. Teens have very strong and sensitive hypocrisy meters and are eager to use them. It's no great insight that parents and teens view the world in different ways. One clear example of this is school. For parents, the view is we work all day, kids don't.
School is their job.
Therefore, they should get good grades. The view of teen-agers often is school is rarely more than their social world, interrupted by six or seven classes a day. Law of Punishment Punishment often springs from anger. Punishment breeds resentment and a desire for revenge. Teens have many creative ways to retaliate.