Formal writing has a more serious tone. Formal texts tend to distance themselves from their readers because the writer doesn't know the person that well.