Thousands of residents in Southern California were under air quality alerts on Friday, with authorities warning those in affected areas should keep doors and windows shut due to particulate pollution.