The correct phrase is 'fallen out'. In this context, 'fallen out' is an idiomatic expression that means to have a disagreement or quarrel. Therefore, the sentence should read 'The teacher has fallen out with the principal.'