How did domestic issues help to shape the cold war?