When setting the scale of an axis to 0 in the inspector, it's not possible to change it using the tools in the scene view (as it is not possible to set the scale to 0 with the tools). This is an expected behavior, as you don't want that value to be changed when manipulation all axis for instance (0 must remain 0). This is also an behavior used by other DCCs such as Blender for instance.