I think i was getting too friendly and treating her too much like a horse.
You have to be careful with that, with horses, too. There is no better way to make a horse pushy and mouthy than giving it treats for no reason. It's a fine line between being a friend and the boss, and sometimes you have to remind the animal which side of that line they live on.