Can mushrooms spontaneously die?
There are several fungi that autodigest  their lamellae  to release spores. Yours seems to be one of them. Due to the black liquid they release during autodigestion, they have the common name inkcap.

As an example, read this Wikipedia article about Coprinus for more details.