When any door or the hatch/trunk lid is opened, the interior lamps will go on unless it is bright outside.
You can also turn the courtesy lamps on and off by pressing the instrument panel brightness knob.