Conditions for acceleration of energetic ions ≳30 keV associated with the Earth's bow shock