thats just the designers made the game
Voldemort forces a burning Sorting Hat onto Neville's hat, Neville as a worthy Gryffindor (as Harry was in the second book) pulls the sword out of the Sorting Hat.
Apparantly, Nevile got the sword out of the sorting hat that was put on his head. Similar to how Harry got the sword out of the hat in the chamber of secrets.Only a "true Gryffindor" could have pulled that sword out of that hat .... Meaning... The sword comes to a "true gryffindor" when he needs it
He pulled it out of the Sorting Hat.
Sword Pack
the sword is in the sorting hat brought by the phoenix named Fawkes.
look at the links below
Harry used the sword of Godric Gryffindor.
The sword makes a few appearances. In the Chamber of Secrets, Harry returns it to Dumbledore. In the Deathly Hallows part 1, it is taken from Dumbledores office and given to the trio by Snape, in a frozen lake. In the Deathly Hallows part 2, it is stolen from the trio by Griphook, the goblin assisting them with the break-in
Look in the related links I will make for you below.
Link is a character in the legend of Zelda games he has green clothes, a hat and a master sword usually.
type in sword floatie pirate hat white sheet
AnswerIt comes from magic. And because Harry is a true Gryffyndor so the hat believes Harry deserves it.