Starlight is affected by multiple factors: Earth's atmosphere causes scintillation (twinkling) and absorbs certain wavelengths, while interstellar dust causes extinction (dimming and reddening). Both effects must be accounted for in astronomical observations, making 'both (a) and (b)' the correct answer.