Text this: Mechanism for microbial population collapse in a fluctuating resource environment