There's a whole range of underwear problems that can cause grouchiness.
It's true! If a slight wedgy is uncomfortable, imagine how terrible wadded or bunched panties feel!