Reflection of the solar wind ions at the Earth's bow shock: Energization