What actually determines abilities of "shifter"?
There are a lot of information in the Nine Titans article and the corresponding individual articles for each of the nine titans on the Attack on Titan Wikia. From my understanding the abilities are determined by which of the nine titans is inherited by the person.