There could be many possible reasons for that. Don’t you remember doing something wrong when you were together, or even just while talking, that might have disappointed her?
It could also be that she lost interest in you because she met someone else. Or it could simply be that she’s busy.
Have you tried asking her why she seems so cold lately, so you can understand what’s wrong? That way, you can figure out how to fix it.