Mechanisms of plasma rotation effects on the stability of type-I edge-localized mode in tokamaks