When you save for web, the file remembers those preferences (save for web preferences are saved in the actual file).
So, next time you open the file and save for web, the save for web preferences will be just like previously. Its basically a history-recorded thing in PS, so the asterisk pops up to note that "Hey, the .psd or .ai has things that aren't saved."