Most of the conventions in Minetest are strange and do not correspond with proper standards.
https://en.wikipedia.org/wiki/Axes_conventionsThe Z axis has always been up and down, Y and Z are swapped in Minetest.
IMHO, it's a pity that the devs did not try to be more consistent with actual standards when it comes to navigation. It would have been much more didactic and educative to understand Minetest numbers. I do not dare to explain to a kid Minetest system because he might end up learning it by heart and make a mess in his head when he actually has to re-learn the conventions if he goes to college.
At this point it's pretty much impossible to change any of this.