My guess is that maybe the mother was not so concerned about her not eating cake, but was concerned about her daughter being rude/offending her friend by not taking what was offered to her. I personally wouldn’t be offended or find it rude if someone declined, but I wouldn’t be surprised if some people were.