Is that flies as in the present tense of fly, or as in the nasty little insects? Either way this phrase doesn’t make much sense when you think about “flies in the face of” as meaning “is contradictory to the idea of”.
I believe it derives from an even older phrase to fly in the face of danger which meant to stupidly run into danger, like a chicken flying in the face of a dog or cat.