This effect is caused by INTERFERENCE between light waves reflected from the front face of the soap film and light waves reflected from the back face, after passing into the film.
The waves will 'cancel out' if there is a path difference of λ/2 (a phase difference of ∏)
and the film will look dark because there is no light reflected.
There is a strange fact about waves. Light reflected from the air/film surface undergoes a phase change of ∏, this is like being given a λ/2 kick out of step.
Light reflected from the film/air surface does not experience a phase change.
This means that a very thin film (less than 1 wavelength) will produce no reflected light.
This is why you can be aware of the dark film when the film is about to burst.
The next thickness of film that will produce darkness is when the film is λ/2 thick (this is the λ in the film material) because the light travels 1 wavelength through the film (there and back)
and the resulting total path difference is λ/2 because of the λ/2 at the front surface.