I think this is Pilobolus kleinii, one of the dung cannon fungi AKA hat throwers.
This fungus grows on dung. Its strategy for colonising new piles of dung is to have its spores be eaten by a herbivore, pass through the animal's gut and end up in a freshly deposited stool.
To this end, these sticky black sporangia are propelled clear of the dung pile by the explosive force of the turgid swelling beneath them bursting. Each has a chance of landing on some palatable grass away from the faeces, where they can be ingested.
iNaturalist observation 372222208









