Is the bottom pic the same hoof as the top pic but before a trim?
In the top picture the sole is shedding and the dead stuff should have been peeled off with a hoof knife.
The whiteline and the frog look to have some thrush. Thrush Buster is gentian violet and should take care of what I see in the top picture. Even in muddy conditions, it will last a few days before needing reapplied.
If that were me, I would cut that top layer of frog off. If you don’t know how to trim, take the Thrush Buster and point the tip of the bottle into that “hole” that really isn’t a hole — its the frog sloughing off but dirt/bacteria is getting in there.
Again, if those are the same hoof and the top picture is a fresh trim, breath and just keep up with applying thrush meds every few days until the mud dries up — hopefully you live where that will happen