Welcome to the neighborhood!
"A" is the "bump stop", which looks warn out. It is there to keep metal to metal contact to a minimum when the suspension begins to wear so as to allow the truck to drop in height a little.
"B" looks like something around the shock is leaking pretty bad. The best thing to do is clean the entire area around the suspension there and then see if you can tell where the lube is coming from specifically.