English and all other languages were formed by god as man tried to build a tower so high that he could reach heaven.
When man knew the languages he devised a method of correct speaking so that there is a system of speech which is known as grammar.
So the language was made by God and grammar by early men