Girls, why would you randomly compliment something on a guy?

I shouldn't say "randomly" but, more like, she almost never does

She also brings it up that she did later on, when she thought he didn't say thank you.

Girls, why would you randomly compliment something on a guy?
Post Opinion