It also puts you in a difficult position. One of the options open to the inspector under administrative actions is remedial training. If the inspectors don't think your attitude is correct, you may not even be given this option. You might feel it would be appropriate to talk to someone else, before you volunteer any more information. Remember the FAA Inspector is entitled to see your FAA license, current medical, documents required for your aircraft and your log book if you have them with you.
Most inspectors are human.
They are out there, even people inside the FAA admit that, just as they are on the freeways and probably where you work. My best advice is to be nice and resist the temptation to point out that they are in a bad mood, you did nothing wrong, and that they should put their clipboard in some dark moist place. On the other hand you do not have to put up with verbal abuse any more than they do. Then see someone who practices aviation enforcement law before doing anything. It's not the same as criminal law or general civil law.