Why is formation of a company a complex process?

As it involves lots of legal formalities, documentations requiring greater time, efforts and extensive knowledge of legal requimements.