You get this result because vertices in two different triangles do not have the same order.
In a right handed system, your first triangle {(-1,1,-1), (1,1,-1) , (-1,1,1)}
is in clockwise order while the second {(-1,1,1), (1,1,1) , (1,1,-1)}
is counterclockwise.
The normals for these triangles will have different directions.