3D dynamics of bacteria wall entrapment at a water–air interface