Why didn't they write 取了 here?
谁给你取的这个名字？ conveys where you got the name or who give you that name. 

谁给你取了这个名字？ sounds like who have given you such a name, implying who have done that naming because that name might sound unusual, weird/ridiculous/etc.