The origin of galactic metal-rich stellar halo components with highly eccentric orbits