VSO is the default or normative order, other orders are also correct with minor exceptions. Usually the change of order is to put emphasis on the word or phrase brought forward. In this case عني is more important than الأذى, hence it’s emphasized by bringing it forward.