I have two cubes in my scene. One is just a BoxMesh, the other I generated with SurfaceTool. I added the vertices and indices, and generated normals. Both meshes have the same StandardMaterial3D, but for some reason, the mesh I generated with surface tool (the top one) does not shade the way I want:

Does anyone have any suggestions as to why it shades like that, and not like the cube below it?
The top cube is generated according to the cube tutorial I found here, updated for Godot 4: https://randommomentania.com/2018/11/godot-surface-tool-tutorial/
(see "Making A Cube" section.)