Has to do with submarines using a red light when going for battle or something of that nature, getting ready for war.
Red light doesn’t impair night vision so when you run in a sub under red lights, or use them at night in the interior spaces of a surface ship, the sailors can stand a watch or work outside in the dark or semi dark without having an adjustment period or period of time with substandard vision.