I saw a general tendency, at least in Europe, for newer trains to have significantly bright lighting in passenger carriages.
During the evening and at night, I find those can be an inconvenience for:
Getting some sleep
Relieving eye strain
Looking out through the window when it is dark outside, as what you mostly see is the reflection of the car interior
Compartment cars of the past had switches that can be used by passengers to turn the lights of each compartment off. But those are nowhere to be found in new trains.
I found some interesting alternative approaches in some more touristy railways such as the MOB / Goldenpass in Switzerland. Cars use a system of indirect lighting of warm colour which lights up the car furniture without glaring into the eyes. The German ICE 4 also has part of the lighting progressively turning to an orange color after 6pm. But those seem exceptions.
One morning, I got on a refurbished German ICE 3. It was retrofitted with insanely bright LEDs. For a 6am departure, the prospect of getting some sleep in there was off-limits.
In addition, there are still personal reading lights available in most long-distance carriages. People who actually need more light can turn those on.
In comparison, lights are often turned off in long-distance buses and long-haul flights during the night - not accounting for takeoff and landing blackouts that are for safety reasons. Why do trains keep them on all the time?