Communication issue

I have a best friend. We have known each other all of our life. She knows everything about me and I think I know everything about her. Lately I have been feeling like she is belittling me. I am a open book, I complain to her about my day my problems and everything. I think she is not wanting to hear it anymore. Once I told her something that was bothering me and she told me indirectly that someone else in the family is having a bigger problem then me so she didn’t feel like mine was important to talk about. So Didn’t help me out with advice that I needed. Again it happened and I stopped talking about that topic with her even though it was very important to me. Now again today, I brought about something that happened to me and she told me something bigger that happened to her. I lent her my advice and anything else she needed. But afterwards I got back on my problem and she didn’t want to talk about it. I get her problem wasnt over with just my advice but there was nothing more i could do to help her. Am i not allowed to talk about my problems if she has something going on? Do i give her time and space until she feels better again?