Supposedly it was to seal the panels to prevent fuel droplets from spattering on the windshield. But that panel was made of dural which acted as armor. My guess is that the panel wasn't entirely flush with the rest of the airframe or ground crew had a habit of overfilling the tank.