Long before the age of peace that FiM is based upon there was a time of war and civil unrest. Friends would kill each other and enemies would mercilessly wipe each other out all in the attempt to gain the power of the Equestrian throne.
Fences are evil.