According to the 'Volundarkvitha', after king Nithuth wronged Volund, he took his revenge by killing the king's sons and raping his only daughter. Unlike trolls that do wrong to everyone, elves could only be a terror to the family that wronged them. So Volund is considered an elf rather than a troll.