Solved! The cause was that the face normals were pointing the wrong direction!‼️

Photo