I wouldn’t consider that the portal, itself, imparting the energy, though. It’s just facilitating an environment where an object can fall infinitely. The portal is outputting the same momentum that is inputted to it. The actual increase of energy happens while the object is falling between the portals.