The answer is that it is called "parentification".
Parentification alludes to the procedure through which kids are allocated the part of a grown-up or adult, going up against both enthusiastic and functional duties that ordinarily are performed by the parent. The parent, thus, takes the reliant position of the child in the parent-child relationship.