He's doing A LOT of stuff here if you view it lick by lick, but he's mostly transitioning between Harmonic Minor + Phrygian Dominant sounds. He's using Minor & Major Add 9 arpeggios & economy picked pentatonic scales too. He also goes into a straight up Major tapping lick later on.
The choice...