He always did that. Behaved like an arsehole when he was in pain. Hermione has carefully hidden her true emotion as she followed him. This time, she wasn’t stalking him and yet Draco made sure that he was at least five steps ahead of her.