Knowing the psychology behind what causes us to trust can help us avoid falling into the traps of naivete and victimhood.