Stirrups are deployed in segments of constant spacing; the spacing changes at key points along the length of the beam, e.g., at those points where maximum spacing governs, or where no stirrups are needed. So the spacing of stirrups in a beam is decreases near the support.