That must be an assembly definition. I haven't seen this before so I recommend posting on the Unity discussions to see if anybody else has experienced something similar. Alternatively if you can tell me how to reproduce it within a fresh project I can take a look. I just tried it in Unity 2022.3 and it worked.
The ladder direction is set by the forward vector - with your model the forward vector is pointing to the left of the ladder.