Knowing Harry was clearly upset about something, Draco had written the Weasley twins at their shop asking for them to send some of Harry's favorite sweets. He had warned them in advance that Harry was in no mood for pranks, and they complied. This time at least.