Thousands in parts of California are under an air quality alert due to harmful levels of particle pollution.