Maybe it was the way that he kept annoying her when she was Hermione, or maybe because something in her wanted to show him that she wasn’t prudish, bookish, or less attractive because she was muggle born. She wanted to show him that she wasn’t afraid, just like a part of her wanted him to see that she was indeed a woman. Someone he would have asked on a date if they weren’t who they were.