Sometimes the decision might be to turn TOWARDS the highest terrain, thereby giving yourself more maneuvering airspace if you need to turn back into the protected airspace behind you.
Sometimes little things matter -
Mountain flying 101 in low performance aircraft - get as close to the threat as possible and then turn away for a course reversal.
The slower the speed the smaller the turn radius(normal G loads).