In English versions of the Bible, why does God speak informally?

So often, God says "Thou shalt...." In old English, thou, thee, thy/thine is informal, as opposed to the formal you, ye, your. Why does the Bible show God speaking informally?