They did not buy homes. Those houses were rent by the state as refugee shelter. The locals attack it like a immune system attacks bacteria. This means the refugees travel from shelter to shelter after it gets burned down and then leave back where they come from.
so the law and order situation in your country is same as Syria