The weight, constant, acting against the buoyancy, which is variable, can produce  states of equilibrium when they are equal.
Bearing in mind the weight of the body and the buoyancy, we find three different cases.