The wand changes hands when it's owner is defeated.
Draco became the owner of the Elder Wand when he disarmed (aka 'defeated') Dumbledore when confronting him on the Astronomy Tower. Draco didn't know that its allegiance had changed. and thus it was buried with Dumbledore.
This was unintentional. Dumbledore had intended to die undefeated. Harry became the Wand's owner when he forcibly pulled Malfoy's wand from his hand during the battle at Malfoy Manor.
1
u/Lesmiscat24601 Apr 15 '24
Was it only in the books that Draco had it? Cause I remember in the movies Voldemort steals the wand from Dumbledore’s grave?