Not resistors, but diodes. These are the bypass diodes. If it were only a 12V system they would not be needed as the panel could never go into bypass. If you have two or more panels with a MPPT controller the panels could go into bypass with partial shade.