Snape was in afoul mood.
He had just failed a test by Professor Flitwick, and he started to move past the (Magical Creatures thing) classroom, when he saw Potter and Evans talking intently.
He stopped, and he found himself staring at Evans. He suddenly thought that she wasn't bad looking, even for a mudblood.
He quickly brought himself about, and continued on his way.