The reason why you see these different types of cracks goes back to your mechanics of materials fundamentals. When a beam is loaded (let's call it a simple span beam), the highest moment in the beam will be at the mid span while the highest shear in the beam will be at the supports. Recall that the location of maximum moment is equivalent to zero shear in this beam.
Mohr's circle indicates that each finite element of the beams cross section is going to experience a certain magnitude and direction of shear and normal stresses, which will vary with the location of this element along the beam. Since the tiny elements at the mid span of the team are experiencing only bending, that equates to normal(tensile)stresses on the elements at the underside of the beam. This causes the beam to crack in a single vertical plane, due to the concrete's lack of tensile capacity.
As you transition away from the center of the beam, the combination of bending and shear will induce both normal and shear stresses on those elements. Using Mohr's circle, those principle stresses are resolved to a maximum stress and direction which is seen roughly as the 45 degree angle we're accustomed to.