Honest question. What's the alternative?
She doesn't have any marketable skills, and even if she did no place is going to hire her halfway through the pregnancy, plus covid and California being in a state of emergency at the moment.
Would it be better for them to have her stay at home doing nothing while paying for everything? Kick her out to survive on her own? Not help her with the cost of the pregnancy so that she is forced to go back to Ralph? I don't really see any better alternatives.
At least this way they can keep an eye on her for the time being and get something out of it while doing it, after the baby is born they can hopefully figure something else out.