This paper addresses the fundamental question of what creates gravity by proposing an energetic interpretation grounded in algorithmic spacetime and Desmos interactions. Gravity is formulated as an emergent phenomenon arising from energetic dominance and spatial energy gradients, rather than from force magnitude or intrinsic spacetime curvature. A movement-amplified algorithmic energy is introduced, through which spacetime precision becomes a dynamic, energy-regulated property rather than a fixed background structure. It is shown that when energetic non-uniformity exceeds a critical threshold, the effective distance sensitivity of gravitational interaction departs from the Newtonian inverse-square form and transitions to , where quantifies the local loss of spacetime precision. Mercury’s anomalous perihelion precession is derived analytically as the first measurable manifestation of this energetic transition, leading to the formulation of a Universal Perihelion Law Based on Desmos that applies to all bound orbits. A comparative analysis of the inner planets confirms the predictive and monotonic character of the law and demonstrates that Mercury’s behavior is not an isolated anomaly but the strongest expression of a general energetic hierarchy. Within this framework, the Moon paradox and planetary precession are unified under a single causal mechanism based on energetic dominance. Classical Newtonian gravity and general relativity emerge as effective limits corresponding to regimes of energetic uniformity and high spacetime precision. The results suggest that gravity is fundamentally created by energy and its algorithmic organization in spacetime, providing a coherent energetic foundation for gravitational phenomena across orbital scales.