The gases released inside the dead body due to decomposition by bacteria causes inflation of the body like a balloon As a result, Volume increases and the density will decrease. As the density of the body is less than that of water it starts floating