Text this: An Energy Perspective of Core Erosion in Gas Giant Planets