What I was told by a couple medicine attending is that they get frustrated because some of the best medical students, who they feel would be great a medicine end up in fields which are very competitive (ortho, rad, anesthesia) and feel that they are "wasting" their great potential for medicine.
Also, In a university setting we are an easy target due to some consults thatt med residents feel are a waste of their time. Just think the intern and 2nd year on ortho would be the peak "medicine knowledge" on the ortho team.
As stated above, We do what we do and they do what they do. Their is no way to stay on top of everything in medicine.
Finally, just like everything else people like to joke about other groups. Even in ortho you will hear spine or joints (only do 4 operations hip/knee and right/left) make fun of hand (hand weenies) and hand make fun of foot and ankle (just a smelly hand) or the reverse.
You can't let any of it bother you and just do what you like and find most interesting