Hagrid had told them not to touch the parcel she had been holding and took Katie away. Hermione remembered this scene occurring right in front of her. She also knew how Harry suspected that Draco was responsible for it. But this time, he had been with her, so it couldn’t have been him, right?