the smaller your aperture, the more DOF. the more DOF, the more of the scene is in focus. And of course, anything between your sensor and the scene. So the dust particles start showing up. If you're using f/2.8 they're still there, they're just blurred out so much you can't really see them.