If your horse exhibits "pica", the general term for the consumption of non-nutritive substances, you need to look at both diet and environment for answers.
Your horse should display passive body language and easily move out of your way when asked. This article will look at why food-related aggression develops.