I was trying to create a symmetric wall by doing:
Blender does not fix surface normals(vectors defining surface direction) automatically when you invert the geometry so they are pointing the wrong way - to the inside of the object. The best thing to do would be to flip the normals:
Note that you need to be in edit mode and have the geometry selected. You can also reach this function from Faces menu that can be called with ctrl+f, you can just hit f once the menu is called - that's a very quick way to reach the function.
You could also use Recalculate Outside(ctrl+n) or Recalculate Inside(ctrl+shift+n) functions, however this might lead to undesired result if you have a mesh that has normals already set up in some particular way or if you are working with geometry that the automatic algorithm may not be suitable for (for example simple planes might confuse it since it cannot determine where the outside should be and if you have a few disconnected planes in one object that might be a problem). Most people will advise to recalculate normals in this situation, however it is a lot more logical to just flip them instead if you know that the problem is caused by inverting the geometry(scaling with a negative value).