There's a room with windows closed by curtains, it's night outside and the only light source is a set of LED filament lamps inside the room. Lamps are designed to have 2200K color temperature to have "retro" look and so light is notably yellowish and all the scene lit by these lamps also looks yellowish to an eye.
Then there's a point-and-shoot digital camera with "scene modes" like "sports", "sunset", "landscape" and the like. Camera can only produce JPEG, so all post-processing is done inside the camera.
Camera positioning and focal length is the same during all filming so camera sees the same scene all the time.
In "landscape" mode the resulting shot is not yellowish — it looks as if it was lit by a 4000K-6500K color temperature fluorescent lamp. In "sunset" mode the shot looks yellowish more or less the same as what an eye sees.
So post-processing behaves differently. It deliberately changes colors in "landscape" code. Why would it do so?
It's not something like automatic exposure where a camera cannot know the expected brightness of an object and so guesses how bright is should look. If the camera doesn't do that we would have to either manually set exposure or have a ton of severely overexposed or underexposed shots.
Visible color of an object looks like something objective — if it looks yellow then it looks yellow, why change it in the first place? I just don't see how this color alteration is useful.
Why does a camera alter the colors in the entire scene during post-processing?