Looks like bumblefoot. It's an infection in the foot, usually caused by a cut or a splinter and gets infected. Soaking the foot in some warm salt water until the black spot is soft and then see if you can find the kernel inside. Once that's removed, it should heal up.
But it may take multiple soaks so don't get too impatient. And wrap in between tries to keep dirt and other stuff out.