There must be a rubber between the fender and the headlight unit to prevent corrosion between these two parts.
In most cars, there is no trace of this rubber left, most of it has been digested and therefore disappeared. With a perfect restoration, this detail should also regain its former glory.
Useful information from Paruzzi magazine and from our YouTube channel :
Look for more technical articles on the page Paruzzi Magazine