that is because the phone had the "locate my iphone" app activated on it,which means it was lost or stolen and can only be activated by the original apple id(or so they say),it is by far the best security apple has had to date.
there is a way around it, i cannot give you fix but only tell you soon you will be able to fix it.