A block of plastic released under water comes up to the surface because the density of plastic is less than the density of water.
This causes the buoyant force (upward force) acting on the plastic block to be greater than its weight (downward force). As a result, the block experiences a net upward force and floats to the surface.