What is the possible problem with bracketing by changing the aperture?

Changing the depth of field.