A cleft palate may form in humans (and other tetrapods) where the tissues that will become the premaxilla and the maxilla fail to join during development.
Though all four were outside the head of our fish ancestors, they migrated back inside as evidenced by the discovery of Kenichthys campbelli, a 395 million-year-old fossilized fish which shows this migration in progress.