As engineer I saw and heard several things from pilots that really were not professional toward engineers. To the extend I really didn't bother fixing things properly for them. Fortunately, I changed habit in this by getting to know some pilots (I fly myself), and my view on it changed. Most pilots are good chaps but rotten apples exist, just leave them alone when they are in maintenance trouble.
On the other hand, the same goes for engineers. I've heard engineers telling the most incorrect things to pilots just to get the aircraft away. And I sometimes also am stunned by the technical knowledge some pilots have about underlying systems.
So indeed, work as a team