A photograph is considered gloomy when the lighting, composition, and subject matter come together to produce a picture that invokes an emotional reaction from the viewers.