They were moved by priests and temple personnel in the 21st dynasty (ca. 900-1000BC) as a result of a persistent problem with tomb robberies. The mummies were labelled so that they could be identified (and as to not disturb their afterlife), and moved for safekeeping.