She wasnt madam Pomfrey. Meaning, while she had a general knowledge of various spells, she did not have the expertise in healing specific spells to be able to heal a death wound on a house elf. Their physiology is very different from wizards.
Why didn't Harry use magic to bury Dobby? Dobby was a dear friend to Harry, so he wanted to provide him with a proper burial. Hence, he refused to use magic to bury him.
Case Study: Dobby in "Harry Potter and the Deathly Hallows"
Dobby, the house-elf, is fatally injured in "Harry Potter and the Deathly Hallows" when he is stabbed by Bellatrix Lestrange's enchanted knife. The severity of the injury and rapid blood loss make it difficult for Dobby's friends to save him.
Hermione is silent, implying she didn't have her healing potion with her or she knew Dobby's injury is too serious to save him. All in all, it probably wasn't in anyone's power to save him.
Why did Hermione not help Dobby? It was too late—Dobby was beyond anyone's capacity to save. Hermione had just been tortured by Bellatrix and was in no state to help anyone.
While Dobby's death was arguably the saddest moment in the entire franchise, it's not as if Harry Potter's author just threw his death in there to keep the audience emotionally distraught. His horrific death at the hands of Bellatrix Lestrange was a necessary addition to the story — here's why.
Harry asked if he could help Dobby but he began wailing and talking about how humble he was and how brave he was for facing You-Know-Who twice. Dobby finally told Harry why he was there - he had a warning: he shouldn't go back to Hogwarts School in September because he would be in danger.
Dumbledore had hoped, by having the Elder Wand placed with him in his tomb, that the power of the Wand would then be ended; the wand would transfer its allegiance to the latest person who had captured it, and as Snape had killed Dumbledore, it would be Snape to whom the wand owed its allegiance.
Dobby Had Insight Into Lucius Malfoy's Plans
Being a House Elf to the Malfoy family, Dobby was privy to the happenings at the manor. He could overhear conversations and likely even saw important documents regarding Lucius' business.
Every time Dobby does not live up to the expectations of his masters (the family he serves), he injures himself.
Socks are an important symbol for Dobby, as it represents his freedom from slavery. In the Harry Potter series, house elves are immediately freed from enslavement if their master gives them clothing.
Because Bellatrix's wand was reported as lost at the Malfoy Manor where the trio ended up taking it away to Shell Cottage, so showing it would have immediately revealed that Hermione was only Bellatrix in disguise, as the real Bellatrix didn't have her wand.
She can't do anything that would prevent him from coming back, as she doesn't have the power to be anywhere that it would make a difference.
When Dobby's last words before dying in Harry's arms are "Such a beautiful place, to be with friends. Dobby is happy to be with his friend, Harry Potter."
After “Harry Potter” fans erected a memorial for Dobby at the filming location, many more fans were inspired to visit Freshwater West Beach and leave socks at the site. The socks are a tribute to Dobby, who is freed from indentured servitude after his evil owner, Lucius Malfoy, is tricked into gifting him a sock.
We learn that Dobby wants to prevent Harry from returning to Hogwarts, as danger awaits him there. Harry protests, but Dobby will only respond by nodding or shaking his head.
"Harry Potter" is the first thing Dobby says in the series. It will be also the last thing he says in the series, before he dies. The warning letter was sent by Mafalda Hopkirk. Mafalda will send Harry two more letters when he uses magic to protect himself and Dudley from Dementors.
The knife in front of Dobby Disapparating. wreckage and Disapparated, while Harry grabbed wands from Draco Malfoy and then Disapparated with Dobby. However, Bellatrix threw her knife at them, trying to aim at Harry, as they vanished, and struck Dobby directly in the chest.
According to the WOMBAT test, it is possible that house-elves have an average life expectancy of 200 years, cannot be ordered to kill themselves, breed infrequently and only with their master's permission, can override wizard enchantments, and have an allegiance to their home rather than its inhabitants.
Draco Malfoy's mother Narcissa was cold, cunning and devoted to the Dark Lord. But she was also a mother, which meant she was willing to risk everything to make sure her son was safe. When Harry survived Voldemort's Killing Curse for the second time, Narcissa pretended he was dead so she could get to Draco.
“Dumbledore didn't want to lose his wand at that point and Draco disarmed him. So that meant that the wand gave Draco its allegiance, even though Draco never knew it, even though Draco never touched it. “From that moment on, that wand gave its allegiance to Draco, and it wouldn't work as well for anyone but Draco.”
We know the Elder Wand allied with Draco Malfoy, who disarmed rather than killed Albus Dumbledore. It later switched its loyalty to Harry Potter during his escape from Malfoy Manor. While deaths did occur in both situations (Dumbledore and Dobby respectively), neither Draco nor Harry committed the act.
Dobby has never been asked to sit down by a wizard. Harry comments, "You can't have met many decent wizards" (2.20). Dobby agrees, and then starts banging his head on the window to punish himself for speaking ill of his family.
The unusual talent known as Parseltongue, which Harry possesses, is passed through a family bloodline. Given that many Dark wizards and witches, including Lord Voldemort, also possess this talent, it is regarded as a dark gift.
Sirius tells the trio that it was Crouch who "gave the order for [Sirius] to be sent to Azkaban [the wizard prison] – without a trial" (27.142). Mr. Crouch is a powerfully ambitious wizard who made a name for himself fighting Voldemort.