By scrubbing the baking soda into your mattress you’ve helped it bond with moisture and body oils in the top layers of material. Vacuuming it a second time pulls that moisture out, along with the cause of the odors.