Hermione was first confused, but then she connected the dots, when she remembered the conversation with Mrs. Potter. Hermione asked: "John, did this have to do with your brother that has caused this scandal that Ron mentioned?"