LA is a big TV market. They moved to St Louis because fans weren't turning up.
LA has always been piss poor for sporting franchises, LA Lakers aside.
It's a simple equation; don't sell out games then in a league with a limited number of spots, other cities will want the franchise.