If you can't understand why someone is doing something, look at the consequences of their actions, whatever they might be, and then infer the motivations from their consequences.
For example if someone is making everyone around them miserable and you'd like to know why, their motive may simply be to make everyone around them miserable including themselves.
— Jordan B. Peterson