You omitted a minus sign. In this situation, we consider Eg
to be negative.
No, the gravitational potential energy decreases as the object approaches the Earth, the same as an object close to the Earth for which we usually use Eg
= +mgh. Including a minus sign in your equation for Eg
takes care of this.