 The attraction isn't created by the depression or hills per se, but the objects are just following the path of least resistance.The object that creates the hill does so because it's less dense than water but more dense than air.The object is actually creating a depression, not in the water but in the air above it.