Helpful editors usually put a natural sign in front of a note if the previous instance of that note had a sharp or a flat. That previous instance can be several measures away, and it can be in a different octave or even in a different staff. Theoretically, an accidental applies only to notes on the same line, but in practically all scores I have seen, accidentals apply to all the same notes in a staff, no matter what octave. So, if you have an F sharp on the top line of the staff, and the next F natural is two measures away in the bottom space of the staff, most editors will add a natural sign. Likewise, if the next F natural is in the other staff, most editors will also put a natural sign.
Looking at measure 9, there are F sharps in the previous measure in both staffs.
For measure 12, there is an F sharp in the previous measure in the top staff.
For measure 14, there is a Bb in the previous measure.
I don't know why there would be a naturalized B in measure 12.
Also, sometimes, accidentals are simply there to remind the performer; it's a courtesy.