You said the floor BECOMES more dense than the table. Concentrate on what happens to the table when I let go. Why does it go down when the air pressure will be the same above and below it?
You know when molecules/matter/elements are stacked according to their density, the heaviest in terms of density are at the bottom, in terms of sea level atmospheric pressure, it's the air we breathe.
Put something more dense into that atmosphere and it naturally will become denser with the atmosphere sitting on top of it.
If your energy is used to lift it's density against that atmosphere, then you have caused it's motion against it, which will compress the air above it, until you stop,
Once you stop, the air equalizes all around the table but your energy is sill holding that table, so if you drop it. It naturally going to fall under it's own dense weight which the air under it is powerless to stop as all it can do is compress, so creating a friction that fills a lower pressure void above as that friction is directed back above.
It works no different going up, down or horizontally.