Logical fallacy
Tone policing
Uses the emotional delivery of a claim to dismiss its truth or the merits of its evidence when the delivery has no relevant bearing on those merits.
Examples
You sounded irritated when you read the meter, so your recording of its value must be wrong.
The repair log is credible only when complaints are phrased politely. This report was blunt, so there was no fault.
A similar case that can be sound
Please lower your voice so we can hear each other. I’ll check the reading against the log now.