Zener Diode affecting Voltage divider

both do the same.

Zeners do not have a sharp turn-on / off point. Instead, they turn on / off gradually and in that process, they become a material load to the divider.

The solution is to use either low value in the resistors, or use sharper turn-on/off devices (like tl431).