My understanding is it stops adding food to the plant so it has time to use up what it has stored. Mainly for taste I believe. Important for extractions I've read. I'm definitely flushing, not gunna ruin my garden.
If you feed your plant the day before harvest it's going to taste like nutrients...