Mostly people wouldn’t understand it, but Harry had seen the way he looked when he left Grimmauld Place with his mother and Aunt Andromeda. Harry understood the threat that Malfoy had spelled out in that letter. He also understood how much Malfoy actually cared about Hermione to send him a letter of all people.