The meaning of your mothers statement is (as my grandmother put it) that heaven forbid something bad happen (like car accident or something) that required a stranger to see your underwear... You wouldn't want them to be dirty!