While there was no indication for it, the entire cave belonged to the goblin king and by entering inside any adventurer became his property to do whatever he wanted with. (Doomsatan666/ Isatan)
The captured Elf slave had a severe debt to pay off, and it turned out that a nearby Beastman camp had plenty of coin to spare for some cheap pleasure. (Po-Ar Art)