Raising a child is challenging. Parents must devote significant time and attention to caring for their children. A job loss, serving time in jail, an injury, or an addiction can impact a parent's ability to care for their child. Grandparents or other well-intentioned family members or friends might offer to help care for a child. However, they'll probably ask to have some legal authority to make school or medical decisions. They may ask for formal custody or to share custody with you while they care for a child.
The end of a marriage or a romantic partnership is by nature a difficult time, even before one considers issues like property division, child custody, and other legal concerns.