Firstly, writing requires good grammar. A non-native person has to remember a large number of rules in structure which are quite different from their own language. This is a very big problem if he or she learns the grammar with an English native teacher at the beginning. The teacher cannot help to point out the distinct differences between the two languages. In this case, the learner must figure out the differences themselves and even outline some rules to convert from their own language to the target language.
Secondly, people are often known to spend less time to write than to listen, to speak and even to listen. Learners learning the language in their country are proved to read more than any other skills while learners learning overseas must listen to the language most of their time. In any cases, they spend little of their time for writing. It is clearly known that an average person spend the most for listening, the second most for speaking, then reading and finally writing.
Thirdly, when students of English as a foreign language write something, they have a big question in mind whether what they write is correct or incorrect. Who can answer the question for them and help them recognize the mistakes. It is, in many cases, the teacher who is teaching them and is ready to give them a hand. The problem however I want to mention is that the teacher does not have enough time to correct for all of them if there are more