They do it to protect trees from sudden weather change in early spring and late autumn. Also to protect from bugs, lichen, timber fungus, etc. There are many kinds of covering: different mixes of lime, clay etc.