For everything that happens, there is a reason behind it. She
must have her own reasons for giving you the hot and cold
treatment, and complaining that you don't understand her. Have you
ever wondered if the problem doesn't lie with her, but with
you?
The problem now lies in the fact that both of you do not understand
each other, because you don't communicate. Hence, I suggest that
both of you should sit down and
have a good heart-to-heart talk.
Talk to her about your thoughts and feelings, and get her to tell
you about her thoughts and feelings as well. Ask her about what she
really wants from you, and discuss about what both of you can do
about it. Explain to her why you think she's giving you the hot and
cold treatment, and tell her about your feelings. This way, both of
you will understand how the other party thinks and will be able to
better compromise one another.
However, if there is still no solution after a heart-to-heart talk,
then I might suggest a temporary break up to let things cool down
for awhile.