How is the gorilla protected in the womb?

In much the same way as a human baby. The gorilla is enclosed in the amniotic sac and surrounded by amniotic fluid which cushions the unborn baby.