What the Expert Says:
I would start by agreeing with what Patrick has already posted- that 13 year old boys are almost always focused on areas outside of school and quite often about girls! As a former middle school assistant principal, please be aware that adult frustration with 12, 13, 14 and 15 yr olds is more the norm than the exception, for alot of reasons.
At these ages the child's mental and physical world is often turned upside down by the body's changing patterns, and some kids handle this better than others. That obedient, respectful child may become a person who is less thant ideal to always be around (note my diplomacy), but this is entirely normal.
The bottom line for you to consider- do not back your son into a corner with no options, or I guarantee he will lash out. In other words, always remember you are the adult who has to be patient and understanding even when your son is driving you nuts. Just don't push him into a corner.
Set clear guidelines and parameters, understand this behavior is part of growing up, and be reasonable but clear. This is an age when young people feel especially vulnerable and insecure- keep this in mind as you try to handle him and his mood swings/disrespect.
Good luck!
Did you find this answer useful?