Not everyone’s brain is functioning properly. That’s important to keep in mind when dealing with someone difficult.
They could have a mental illness that you’re not aware of. They could be suffering from brain damage. They might be taking drugs that mess with their brain chemistry. They could be tired. Etc.
It’s easier to be merciful when thinking of it that way.