I would say I'm hard on my kids but I always circle back around and explain the what where when and why. Always tell them I love them and that I hate having to punish them but I just want them to be good people.
Maybe something deeper is going on with school or friends? We are dealing with similar behaviors and I would ask your child’s guidance counselor to pull him for an extra curricular activity and start to build a relationship where you kiddo would feel comfortable talking about things he wouldn’t be comfortable talking about otherwise. We have done similar with our son and it’s worked open him up a bit and allows for that early intervention.
Is he used to you correcting him then praising him. It sounds like he is only focused on the negative side of things being said. One time my 13 year old was being kinda moody which she is hardly every. I asked what was worng and she rolled her eyes and said nothing. I told her I could tell something was wrong. She got loud and said "nothing is wrong". I got loud and told her "dont yell at me. I know something is wrong because I know you and it's not fair to me that your yelling at me when all I'm doing is asking. You being a jerk isn't going to solve anything so tell me what wrong or we can keep fighting" she started crying and said she didn't do very good on a test she study for and it was important that she do well. I huge her and told her I was sorry. she stressed herself over on a test i told her it would be okay and if she tried her best she should be happy with that always. We hug more and she went back to her happy self.