Methane combustion releases energy because the electrons lose potential energy when they end up closer to electronegative atoms such as oxygen.