Pasadena wants to prevent gentrification to protect low income renters who are leaving town and diminishing the Democratic political base
Also, a good way to prevent gentrification is to subsidize below-market rental housing for all the teachers, firemen, and policemen who can't afford to live in town. Besides, when the construction is done, no one will notice when 20% of the apartments gets skimmed off for relatives of the housing commission!