Could you elaborate? My understanding of those xyz coords is that they are a position of light in 3D space. So in that case (as Y is height) Z does matter. Is my understanding wrong?
Yep, it's not the position of the light that changes but the rotation. It's a directional light, where the position in the scene has no influence on the visuals.