This problem is being perpetuated by profit-seekers as well as good intentioned donors and aid workers alike.
Anyone can open an orphanage in Cambodia and fill it with children from poor and vulnerable families. There are very few barriers to setting up an orphanage in Cambodia. But working with children and families to keep them together, or to support community-based care alternatives is relatively difficult and takes time. It is also less likely to appeal to individual donors.