it has something to do with nerves building a habit. like if you work out for so long you create a habit of doing it and it is hard to break a habit. so if she had been going to that class for a long enough time she will create a habit that creates her shivering every time she nears that certain classroom