What causes bad communication in relationships?

My girlfriend literally goes 🤐 about her problems I wanna be there for her and help her though them but she changes the subject or ignores me. How do I fix this?