Mistress Emily was pissed to learn that her professor was interested in being involved romantically with her. She did not want him to cloud her judgment and affect her studies and her grades. She wanted to make sure that her focus remained in her studies. So she took a shit on him as punishment to make him realize that she was not going to let him try to distract her.