You may want to take a look at these previous threads on this topic:
The consensus seems to be that the mountainous geography of Basque Country played a large role. In the first thread, /u/Tiako and /u/keyilan note that mountainous regions are historically good at preserving linguistic diversity, and compare Basque to Paleo-Sardinian, another non-IE language and possible language isolate spoken in a mountainous area that became extinct in the 2nd century AD or so.