I have 3 DC, all teens, DD, 2 DS. My eldest two were rarely / never in trouble and if they were, it was fairly straightforward, and not about attitude or disrespect.
My youngest DC is a completely different story, is easily dysregulated, and often in trouble, and has demonstrated rudeness / poor attitude which is completely unacceptable to me.
I think you need to do two things - be absolutely clear what your own standards are and be clear about the consequences if he is rude or behaving disrespectfully.
Taking away xbox or similar won't work
You can however, treat it as 'earned time' e.g. when behaviour is positive in school, he gets more screen time.
You have to stay on it. All the time.
In my DC school, there is little space for nuance - they are not interested in what's behind the behaviour, and I generally accept this - they are running a big school and they just have to have rules observed. So I am very clear about what is absolutely a red line for me, and what I can live with; I also try very hard to have clear routines in place so that my DS is as organised as possible going to school, and is less likely to get into trouble, that might escalate.
You ask about growing out of it - no, I don't think they do, really, not without hard work from you, and very clear action.