She could have avoided some mealtimes – teachers were expected to attend most but not all meals – but that would have looked like he had succeeded in driving her away. And yes, she could have swapped seats with Neville, but that would also have looked like she was running away from Malfoy, and besides, she...didn't really want to swap.