I hate to say it but she's allowed to be selfish, she's allow to be scared, grieve, close off, be depressed and refuse to fight. Bottom line is this is about her first because she is dying. Her feelings come first. It's hard to stand by and watch this - trust me I know all too well having lost my mom when she was 54 to breast cancer. She was diagnosed as stage 4 right off the bat with no prior warning. They found a tumor behind her eye, knew it was breast cancer but even then they still could not find the origin until they did the most basic ultrasound... Wasn't found on MRI, wasn't found on Mammogram either. She had no hope, she had no chance to beat it.
My mom was in denial. She refused to ask questions and refused to allow us to ask questions. When we asked she didn't want to talk about it. No matter what we were going through though, it was harder on her. Her life was ending, she was leaving her children at a fairly young age, she was leaving behind grandchildren that would have very spotty memories of her, she was leaving behind her sisters and her own parents.
Accept how your mom chooses to handle this, put your anger aside and find whatever joy you can find with her for as long as you're allowed to have her. When she's gone you can reflect and get angry but you don't know how much time you have left so you have to try and make the best of it because it's her choice to handle this how she wants. (((((((((((((((((hugs))))))))))))))))))))))