This is how the axis are related to vehicles. This also follows the Right Hand Rule.
If you stand in the middle of the front of the vehicle .. hold out your right hand .. your thumb pointing up. your index finger pointing to the rear of the vehicle, and your middle finger point to the passenger side of the vehicle, then all of those three fingers are pointing in the positive direction of the axis.
Maybe SolidWorks should have never added a XYZ triad. Before that ,no one knew or cared which way Z up was. We never model a part based on manufacturing direction, instead we model based on the Front/Top/Side of the products orientation so they are closer to correction orientation when inserting into assemblies so less fuss. Of course not all parts fit neatly into that default orientation.