Why do babies have a soft spot on their head?

Its because the brain has to form

and the plate grows there later on.