Draco sautéed the garlic, although Hermione did step in to take it off the heat before it burnt. She stood right next to him, invading his personal space. He held his ground for a moment before moving back, letting her fix his mistake.