Map of the etymology of 'Apricot' from Latin via Late and Byzantine Greek to Arabic, Spanish and Catalan, Middle French and so to English.  
For the stressed initial a to its dipthong /eɪ/ in English, see the Great Vowel Shift which similarly changed much church latin to its most popular modern sounds in English.
Own work
Ian Alexander