The inverter provides 180o of phase shift and the crystal capacitor network the additional 180o required for oscillation. The advantage of the CMOS crystal oscillator is that it will always automatically readjust itself to maintain this 360o phase shift for oscillation.