Why would she blush at a compliment?

A female acquaintance I sit next to in one of my classes was worried about a midterm exam of hers. I said " don't worry too much about it. You're smart. You'll do fine". afterward she sort of blushed and smile then responded with "Thanks".
Why would she blush at a compliment?
Post Opinion