Hmm, it's probably because the shipping bin takes priority over the horse, so you activate the shipping bin instead if the horse is too close. This could be fixed eventually. If you go to bed, the horse will be back at the stable and you should be able to ride it again.