These sort of thoughts are ridiculous, she admonishes herself. Harry's convinced Malfoy is a Death Eater. Hermione doesn't know about all that, but believes he'd be trying to elevate his own status. Look older and more important than his classmates. That all fits.