In every country in the world visit visa can be rejected if the immigration is not satisfied that the person has enough ties in their home country. If she showed more ties to Qatar, being single, and not enough ties to her home country (i.e. letter of employment from Malaysia with confirmed leave dates), then of course her visa was rejected - sorry.