pull down to refresh

cool question to ponder. im wondering now in what circumstances surnames are created. is it when someones lineage or their history has been disrupted. say, a refugee that needs to take on a new name? but in that case they are likely given a name, not choosing one. when would one have the opportunity, need and stamina to choose to start their a new last name?