They protect the temperature sensors from being influenced by direct or reflected sunlight.
Stevenson screens are always installed so that the door opens facing north, to keep the sun from shining directly on the thermometers and affecting the readings.