We investigate the mechanism of changing the polarization state to generate noise-like pulses (NLPs) in the all-normal dispersion (ANDi) all-fiber laser based on nonlinear polarization rotation (NPR). Numerical simulations show that the intracavity positive and negative feedback states change with the polarization state, the peak power of the pulse will be clamped when the negative feedback comes into play, thus facilitating the transition from dissipative soliton (DS) to NLP. Experimentally, the observation of wavelength switching and transition between DS and NLP by simply adjusting the polarization state matches the numerical simulation results. This study contributes to a deeper understanding of the mechanism for generating NLP by changing the intracavity polarization state in ANDi all-fiber lasers based on NPR and offers new possibilities for pulse-switchable light sources.