There are some women who get unwanted pregnancies in the West. One solution to avoid abortion is to give the baby for adoption or make arrangement that someone else take care of it once it is born. Is it allowed to adopt a baby like this?

What about those who travel to other poorer countries to adopt a baby the parents fear they cannot afford?

Is these method of adoption an ethical thing to do according to islamic principles?

1- It is allowed as long as they give the baby to a Muslim family who will raise then on faith. But giving them to non-Muslim families knowing that the child will grow up to be a disbeliever is not allowed. Also, in any case, Islamic laws like the laws of inheritance would still apply. So if the father dies, this child is still entitled to inheritance.

2- Adopting children from a poor family is permissible.