Inkcap species, including the magpie inkcap, shed their spores and then their caps disintegrate into a black gooey mass from the rim inwards, a process called deliquescence. About half done for this mushroom.
The goo was sometimes used to make an ink.