I read somewhere that the great apes approach each other with widely open mouths to indicate not, not as you would think, hostility but good will. The theory is that *if* we are descended from the apes, it could be a genetic memory to greet a gaping mouth with another gaping mouth to show friendliness.
As good a theory as any other, I guess.