It looks like cold solder on at least one of them. Add some new solder and then remove all the solder and reflow those two joints.
Adding new solder helps remove the old stuff, I'd do both sides of those while I was at it.
I think the burn spots you're noticing are due to higher resistance from a poor solder connection, notice how the solder tail is sunken in from the solder fillet around it? That part has moved after it was originally soldered, resulting in a poor connection.