I have already answered the question.
If you hang a weight from the end of a metal bar and that end "moves down", then the bar has bent. You cannot bend a bar without causing some part of it to expand and/or another part to compress.
There is no change in the length of the whole bar, but there is stretching and compression of the material.
Shear strain involves the two surfaces moving as a result of force parallel to the surface.
With shear, surfaces AB and CD move as shown. θ is the shear strain angle.
With bending, AB expands and CD is compressed.
If you hang a weight on the end of a rod that is held at the other end, the result is bending. If so, Young's modulus is involved to describe the resultant strain.
If the strain is like the top diagram, shear strain, then the shear modulus is involved.
In most cases, you don't get pure shear, so the analysis is more complex.