That is often called "self-sacrificing" or maybe "selfless behaviour" ig.Oh the question was if while not caring for self but does care for and ensuring the other's care . And not letting their own situation be known
It’s when someone puts everyone else's needs first while keeping their own struggles completely hidden. It can be very lonely and leads to burnout quickly.