When temperature increases, both mercury and iron expand. However, the coefficient of volume expansion for mercury is much greater than that for iron. Mercury's density will decrease more significantly, causing the buoyant force to decrease, and the iron cube will sink lower.