it comes from a slight bruising of the area typically from mechanical handling / packaging.
the damage is already done, but may not be evident, when you pick it up in the store/vegetable stand.
kept long enough, the bruised area(s) go brown. slice it off - proceed to chomp.....