This is probably a matter of terminology and me not finding it due to the lack of it.
An apple falls from a tree on the ground due to gravity. Yet, if it falls into a water pit it floats on top of the water and doesn't sink.
I've heard about density and why it makes things float but I'm not sure why it floats to the top and does not sink to the bottom if there's still gravity. Thinking about this I could imagine the apple being pulled to the bottom just as well. Why is the play between high and low density objects not reversed?