Why does not bacteria survive in harsh conditions?

There are a number of bacteria that DO survive in harsh environments be it pH or temperature extremes or an environment that is very salty. Bacteria that don't survive in harsh conditions usually lose cell wall integrity and break apart, or lose all their intercellular fluid and shrivel up.