"Resource guarding", or protecting what they believe to be theirs, is a natural tendency in dogs. Once this becomes a problem, it's probably best to call in a professional for guidance.
Prevention is obviously better than cure, though. In this video, Tony Cruse from TC Dog Training, gives us some helpful advice on how to prevent aggression around the food bowl.