They don't. But getting people to understand supply and demand is hard. Getting them to blame visible changes in the neighborhood (e.g. fancy new apartment buildings going up) is easy.
People who live in rent-controlled apartments seem to be against gentrification, as they end up losing their rent-controlled apartments for new construction.