That looks like an old plaster ceiling rather than a drywall ceiling. The joint compound is failing because the cracks in the plaster were not taped and I am willing to bet there is/was some water intrusion in that area. You will need to remove as much of that joint compound as possible, tape the cracks and re-coat the area.